canmove, Confirmed users
2,175
edits
m (→Introduction: nit) |
m (clarify logging) |
||
Line 19: | Line 19: | ||
=== Thunderbird Logging Types === | === Thunderbird Logging Types === | ||
You will need to [[MailNews:Logging#Set_a_Preference|set a preference of type string, to a value which is '''Case Sensitive'''. For example, use <code>All</code>, not <code>ALL</code>. | |||
* Calendar - set both <code>calendar.debug.log</code> and <code>calendar.debug.log.verbose</code> to <code>true</code>, and reload calendar pane. Reference: [[Calendar:QA_CalDAV_Support#Diagnosis_hints|Calendar/Calendar logging]] | * Calendar - set both <code>calendar.debug.log</code> and <code>calendar.debug.log.verbose</code> to <code>true</code>, and reload calendar pane. Reference: [[Calendar:QA_CalDAV_Support#Diagnosis_hints|Calendar/Calendar logging]] | ||
Line 38: | Line 38: | ||
* smtp - <code>mailnews.smtp.loglevel</code>, string, set to <code>All</code>, <code>Warn</code>, or <code>Off</code> | * smtp - <code>mailnews.smtp.loglevel</code>, string, set to <code>All</code>, <code>Warn</code>, or <code>Off</code> | ||
=== | === Set a Preference === | ||
You must create a hidden Thunderbird preference, not an environment variable. In Thunderbird : | |||
# do Settings > General | # do Settings > General | ||
# in the search field type <code>config editor</code> | # in the search field type <code>config editor</code> | ||
Line 62: | Line 62: | ||
== Gecko Logging == | == Gecko Logging == | ||
Gecko logging | Gecko logging uses module names. It is the classic (old) method of getting log data. Gecko logging may be enabled via preferences (not discussed in this document), or command line, which is discussed below. | ||
Thunderbird gets its module logging capabilities from Firefox core, also known as Gecko. Gecko logging capabilities are thoroughly documented in this [https://firefox-source-docs.mozilla.org/xpcom/logging.html excellent reference], including [https://searchfox.org/mozilla-central/search?q=LazyLogModule+.*%5C%28%22&path=&case=true®exp=true module names]. | Thunderbird gets its module logging capabilities from Firefox core, also known as Gecko. Gecko logging capabilities are thoroughly documented in this [https://firefox-source-docs.mozilla.org/xpcom/logging.html excellent reference], including [https://searchfox.org/mozilla-central/search?q=LazyLogModule+.*%5C%28%22&path=&case=true®exp=true module names]. | ||
Line 94: | Line 94: | ||
# 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 <small>( | # NNTP <small>(Use only for versions older than 95. Today, use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small> | ||
# pop3 <small>( | # pop3 <small>(Use only for versions older than 98. Today use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small> | ||
# smtp <small>( | # smtp <small>(Use only for versions older than 90. Today use "[[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small> | ||
# mbox - For reading/writing berkley mbox formatted message stores | # mbox - For reading/writing berkley mbox formatted message stores | ||