MailNews:Logging: Difference between revisions

Jump to navigation Jump to search
m
clarify logging
m (clarify logging)
Line 19: Line 19:
=== Thunderbird Logging Types ===
=== Thunderbird Logging Types ===


Log settings of type string are '''Case Sensitive'''.  For example, use <code>All</code>, not <code>ALL</code>.
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>


=== Setting a Preference ===
=== Set a Preference ===


To configure logging via a Thunderbird Preference, you must create a hidden Thunderbird preference, not an environment variable. In Thunderbird :
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 using module names is the classic method of getting log data. Gecko logging may be enabled via preferences (not discussed in this document), or command line, which is discussed below.  
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&regexp=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&regexp=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>(After Thunderbird 95 use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small>
# NNTP <small>(Use only for versions older than 95. Today, use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small>
# pop3 <small>(After Thunderbird 98 use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small>  
# pop3 <small>(Use only for versions older than 98. Today use [[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</small>  
# smtp <small>(After Thunderbird 90 use "[[MailNews:Logging#Thunderbird_Logging|Thunderbird logging]])</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


canmove, Confirmed users
2,175

edits

Navigation menu