canmove, Confirmed users
2,188
edits
m (missing )) |
m (further emphasize CASE SENSITIVE) |
||
Line 11: | Line 11: | ||
In addition, some log module names changed. The old names are documented below, but will eventually be removed (along with this section) when enough time has past that it is no longer necessary for most people to debug older versions of the applications. Of course, the obsolete documentation will remain accessible in the history of this page. | In addition, some log module names changed. The old names are documented below, but will eventually be removed (along with this section) when enough time has past that it is no longer necessary for most people to debug older versions of the applications. Of course, the obsolete documentation will remain accessible in the history of this page. | ||
Note that log module names are | Note that log module names are '''CASE SENSITIVE'''. | ||
== Main module options within MailNews == | == Main module options within MailNews == | ||
MailNews applications (SeaMonkey/Thunderbird) allow these ''' | MailNews applications (SeaMonkey/Thunderbird) allow these '''CASE SENSITIVE''' modules/protocols in both debug and release builds. In {{bug|1353919}} these options have been unified, the old options are in parenthesis: | ||
# BayesianFilter | # BayesianFilter | ||
Line 39: | Line 39: | ||
Two variables must be set - you choose how to set it up. You can set them globally as environment variables (find instructions for your OS), or as local 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 - you choose how to set it up. You can set them globally as environment variables (find instructions for your OS), or as local variables in a batch file/script (described [[MailNews:Logging#Generating_a_Protocol_Log|below]]), or just on the command line. | ||
# '''MOZ_LOG''' - ''' | # '''MOZ_LOG''' - '''CASE SENSITIVE''' module name and [[MailNews:Logging#Logging_level|log level]] separated by colon, multiple modules separated by comma, and additional options: | ||
#* Example module and loglevel with timestamp: "POP3:5,SMTP:3,timestamp" | #* Example module and loglevel with timestamp: "POP3:5,SMTP:3,timestamp" | ||
#* Example module and loglevel: "IMAP:5" | #* Example module and loglevel: "IMAP:5" | ||
Line 48: | Line 48: | ||
Note: | Note: | ||
* The log is written over every time you re-launch the mozilla application. | * The log file is written over every time you re-launch the mozilla application. | ||
* You must have write access to the directory of the log file. | * You must have write access to the directory of the log file. | ||
Line 134: | Line 134: | ||
* If you used a batch file on Windows, is the batch file set to run with administrator privileges? | * If you used a batch file on Windows, is the batch file set to run with administrator privileges? | ||
* Do your log variables contain quotation marks or other invalid characters? | * Do your log variables contain quotation marks or other invalid characters? | ||
* Are your log module names correctly | * Are your log module names correctly '''CASE SENSITIVE'''? (i.e. camel case which is not all upper case, nor all lower case) | ||
== Reference Documents == | == Reference Documents == |