MailNews:Logging: Difference between revisions

m
m (add instruction to attach log to bug report)
m (→‎Thunderbird Logging: minor edits)
Line 13: Line 13:
== Thunderbird Logging ==
== Thunderbird Logging ==


This is the modern method, where logging is specified by [[MailNews:Logging#Setting_a_Preference|setting a preference]] in Thunderbird.  
Thunderbird Logging is specified by [[MailNews:Logging#Setting_a_Preference|setting a preference]] in Thunderbird.  


Log output goes to the Error Console. You can access it with Tools > Developer > Error Console or use the hotkey Control+Shift+J (Command+Shift+J on macOS). Right click in the Error Console to copy individual lines, all lines, or save to a file.
Log output goes to the Error Console at Tools > Developer > Error Console or use the hotkey Control+Shift+J (Command+Shift+J on macOS). Right click in the Error Console to copy individual lines, all lines, or save to a file.


=== 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''', or type boolean.   
You will need to [[MailNews:Logging#Set_a_Preference|set a preference]], of type string to a value which is '''Case Sensitive''', or type boolean.   


A string example is <code>All</code>, not <code>ALL</code>.
A string example is <code>All</code>. <code>ALL</code> in all caps is not a valid string and will result in no output.


* 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 31: Line 31:
**  4  Show errors (PURPLE_DEBUG_ERROR)
**  4  Show errors (PURPLE_DEBUG_ERROR)
**  5  Show only fatal errors (PURPLE_DEBUG_FATAL)
**  5  Show only fatal errors (PURPLE_DEBUG_FATAL)
* Chat Off-The-Record (OTR) protocol for exchanging '''encrypted''' chat messages -  <code>chat.otr.trace</code> boolean preference
* Chat Off-The-Record (OTR) protocol for '''encrypted''' chat messages -  <code>chat.otr.trace</code> boolean preference
* [https://wiki.mozilla.org/Thunderbird:Debugging_Gloda Gloda Indexing (global search) activity to Error Console]
* [https://wiki.mozilla.org/Thunderbird:Debugging_Gloda Gloda Indexing (global search) activity to Error Console]
* ldap - <code>mailnews.ldap.loglevel</code>, string, set to <code>All</code>, <code>Warn</code>, or <code>Off</code>
* ldap - <code>mailnews.ldap.loglevel</code>, string, set to <code>All</code>, <code>Warn</code>, or <code>Off</code>
canmove, Confirmed users
2,215

edits