MailNews:Logging: Difference between revisions

Jump to navigation Jump to search
m
Line 42: Line 42:
=== Set a Preference ===
=== Set a Preference ===


You must create a hidden Thunderbird preference, not an environment variable. In Thunderbird :
You must create a hidden Thunderbird preference in the Config Editor. In Thunderbird :
# do Settings > General  
# do Settings > General  
# in the search field type <code>config editor</code>
# in the search field paste <code>config editor</code>
# click <code>Config Editor</code> in the search results
# in the search results click <code>Config Editor</code>  
# in the search field paste or type the preference name, for example <code>mailnews.pop3.loglevel</code>
# in the search field paste the logging name, for example <code>mailnews.pop3.loglevel</code>
# if you are presented with choices of Boolean, Number, String
# if you are presented with choices of Boolean, Number, String with a plus sign
## choose Boolean for true or false settings, otherwise choose String
## choose Boolean for true or false logging '''type''', otherwise choose String
## click the <code>+</code> (plus sign) to add the preference
## click the <code>+</code> (plus sign) to add the preference
# change the preferences' value to the desired logging value
# change the preferences' value to the desired logging '''value'''
#* for string preferences click the pencil icon, change the value, then click the check mark
#* for string preferences click the pencil icon, change the value, then click the check mark
#* for boolean preferences click the double headed arror to switch between <code>true</code> and <code>false</code>
#* for boolean preferences click the double headed arror to switch between <code>true</code> and <code>false</code>


Logging is permanent until you reset or delete a preference (by clicking the trash can).
* Logging is permanent until you reset or delete a preference (by clicking the trash can).


It is not necessary to restart Thunderbird - logging starts immediately.   
* It is not necessary to restart Thunderbird - logging starts immediately.   


You can view the output at Tools > Developer > Error Console. To expose timestamp, click the gear icon in top-right of the Error Console, turn on "Show Timestamps".
* You can view the output at Tools > Developer > Error Console. To expose timestamp, click the gear icon in top-right of the Error Console, turn on "Show Timestamps".


In the Error Console you can save the entire log with right+click on a "message" and pick "Save all Messages to File".
* In the Error Console you can save the entire log with right+click on a "message" and pick "Save all Messages to File".


== Gecko Logging ==
== Gecko Logging ==
canmove, Confirmed users
2,237

edits

Navigation menu