MailNews:Logging: Difference between revisions

m
more details about logging to error console
m (js nntp logging)
m (more details about logging to error console)
Line 30: Line 30:
== Environment Variables to set ==
== Environment Variables to set ==


Two variables must be set. (Except for logging of ldap, pop3 and smtp, which are configured in Thunderbird settings, and log to the Error Console.) You can set them globally as system environment variables (find instructions for your OS), or as local environment variables in a batch file/script (described [[MailNews:Logging#Generating_a_Protocol_Log|below]]), or just on the command line.
Two variables must be set. (Except for logging of ldap, nntp, pop3 and smtp, which are configured in Thunderbird settings and log to the Error Console - per instructions above. So you may ignore this section and the next for these protocols.) You can set these variables globally as system environment variables (find instructions for your OS), or as local environment variables in a batch file/script (described [[MailNews:Logging#Generating_a_Protocol_Log|below]]), or just on the command line.


# '''MOZ_LOG''' - '''CASE SENSITIVE''' module name and [[MailNews:Logging#Logging_level|log level]] separated by colon, multiple modules separated by comma, and additional options:
# '''MOZ_LOG''' - '''CASE SENSITIVE''' module name and [[MailNews:Logging#Logging_level|log level]] separated by colon, multiple modules separated by comma, and additional options:
canmove, Confirmed users
2,231

edits