canmove, Confirmed users
2,234
edits
m (→Logging Tools: are all obsolete for current versions of Thunderbird) |
m (js nntp logging) |
||
| Line 22: | Line 22: | ||
# MsgDB <small>(level 1=opens/closes, level 5 lists open db's on close, number of msg hdrs in use)</small> (before Thunderbird version 59: MSGDB) | # MsgDB <small>(level 1=opens/closes, level 5 lists open db's on close, number of msg hdrs in use)</small> (before Thunderbird version 59: MSGDB) | ||
# MsgPurge | # MsgPurge | ||
# NNTP | # NNTP - [[MailNews:Logging#Setting_Thunderbird_Preference|Set preference]] mailnews.nntp.loglevel pref to "All". Open the Error Console with Ctrl+Shift+J or Command+Shift+J and copy log entries. (Prior to Thunderbird 96 use "NNTP" module name.) | ||
# pop3 - [[MailNews:Logging#Setting_Thunderbird_Preference|Set preference]] mailnews.pop3.loglevel pref to "All". Open the Error Console with Ctrl+Shift+J or Command+Shift+J and copy log entries. (Prior to Thunderbird 99 use "POP3" module name.) | # pop3 - [[MailNews:Logging#Setting_Thunderbird_Preference|Set preference]] mailnews.pop3.loglevel pref to "All". Open the Error Console with Ctrl+Shift+J or Command+Shift+J and copy log entries. (Prior to Thunderbird 99 use "POP3" 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.) | # 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.) | ||
| Line 60: | Line 60: | ||
== Generating a Protocol Log == | == Generating a Protocol Log == | ||
Note - ldap, pop3 and smtp for current versions of Thunderbird are configured in settings and log to the Error console, not to a log file. | Note - ldap, nntp, pop3 and smtp for current versions of Thunderbird are configured in settings and log to the Error console, not to a log file. | ||
=== Windows === | === Windows === | ||
| Line 125: | Line 125: | ||
=== Setting Thunderbird Preference === | === Setting Thunderbird Preference === | ||
To configure the logging of ldap, pop3 and smtp you must set a Thunderbird preference, not an environment variable. To set a preference, in Thunderbird do Settings > General > scroll to the bottom, click Config Editor. In the search field paste or type the preference name, for example mailnews.pop3.loglevel. To change the setting, click the pencil icon, change the value, and click the check mark. It is not necessary to restart Thunderbird - the change takes effect immediately. To change setting back to its default, click the arrow icon. | To configure the logging of ldap, nntp, pop3 and smtp you must set a Thunderbird preference, not an environment variable. To set a preference, in Thunderbird do Settings > General > scroll to the bottom, click Config Editor. In the search field paste or type the preference name, for example mailnews.pop3.loglevel. To change the setting, click the pencil icon, change the value, and click the check mark. It is not necessary to restart Thunderbird - the change takes effect immediately. To change setting back to its default, click the arrow icon. | ||
=== Missing Log File === | === Missing Log File === | ||
If your log file is empty or missing, review this document again, and check for these common problems: | If your log file is empty or missing, review this document again, and check for these common problems: | ||
* Are you logging pop3, smtp | * Are you logging ldap, nntp, pop3, or smtp? You must set a [[Mailnews:Logging#Setting_Thunderbird_Preference|Thunderbird preference]], not an environment variable, as described in the [[Mailnews:Logging#Main_module_options_within_MailNews|modules descriptions]]. | ||
* Do you have write access to the directory specified in MOZ_LOG_FILE? | * Do you have write access to the directory specified in MOZ_LOG_FILE? | ||
* Did you shut down the mailnews application? (the log file is buffered in memory) | * Did you shut down the mailnews application? (the log file is buffered in memory) | ||