canmove, Confirmed users
2,237
edits
m (remove and fix obsolete links to MDN) |
m (add NOTE for Error Console produced logging) |
||
| Line 26: | Line 26: | ||
# smtp - [[MailNews:Logging#Setting_Thunderbird_Preference|Set preference]] mailnews.smtp.loglevel pref to "All". Open the Error Console with Ctrl+Shift+J or Command+Shift+J and copy log entries. (Prior to Thunderbird 91 use "smtp" module name.) | # smtp - [[MailNews:Logging#Setting_Thunderbird_Preference|Set preference]] mailnews.smtp.loglevel pref to "All". Open the Error Console with Ctrl+Shift+J or Command+Shift+J and copy log entries. (Prior to Thunderbird 91 use "smtp" module name.) | ||
([[MailNews:Logging#Other_Protocol_Logging_options_within_MailNews|Other options below]]) | ([[MailNews:Logging#Other_Protocol_Logging_options_within_MailNews|Other options below]]) | ||
== Environment Variables to set == | == Environment Variables to set == | ||
'''NOTE - do not use this section for ldap, nntp, pop3 and smtp. They are configured in Thunderbird Settings, and log to the Thunderbird Error Console.''' Please refer to [[MailNews:Logging#Main_module_options_within_MailNews|module options]]. | |||
Two variables must be set. (Except for logging of ldap, nntp, pop3 and smtp, which are configured in Thunderbird settings and log to the Error Console - per instructions above. So you may ignore this section and the next for these protocols.) You can set these variables globally as system environment variables (find instructions for your OS), or as local environment variables in a batch file/script (described [[MailNews:Logging#Generating_a_Protocol_Log|below]]), or just on the command line. | Two variables must be set. (Except for logging of ldap, nntp, pop3 and smtp, which are configured in Thunderbird settings and log to the Error Console - per instructions above. So you may ignore this section and the next for these protocols.) You can set these variables globally as system environment variables (find instructions for your OS), or as local environment variables in a batch file/script (described [[MailNews:Logging#Generating_a_Protocol_Log|below]]), or just on the command line. | ||
| Line 46: | Line 48: | ||
=== Logging level === | === Logging level === | ||
'''NOTE - do not use this section for ldap, nntp, pop3 and smtp. They are configured in Thunderbird Settings, and log to the Thunderbird Error Console.''' Please refer to [[MailNews:Logging#Main_module_options_within_MailNews|module options]]. | |||
The number in MOZ_LOG specifies the level of logging to be used. A lower number reduces the amount of information being logged. Use "5" unless requested otherwise. | The number in MOZ_LOG specifies the level of logging to be used. A lower number reduces the amount of information being logged. Use "5" unless requested otherwise. | ||
| Line 60: | Line 64: | ||
== Generating a Protocol Log == | == Generating a Protocol Log == | ||
'''NOTE - do not use this section for ldap, nntp, pop3 and smtp. They are configured in Thunderbird Settings, and log to the Thunderbird Error Console.''' Please refer to [[MailNews:Logging#Main_module_options_within_MailNews|module options]]. | |||
=== Windows === | === Windows === | ||