MailNews:Logging: Difference between revisions

m
more on quotation marks
m (document quotation marks mentioned in bug 1371498)
m (more on quotation marks)
Line 37: Line 37:
== Environment Variables to set ==
== Environment Variables to set ==


Two variables must be set, without quotation marks. These can be as (global/system) environment variables. Or, what we document here, as variables in a batch file/script or on the command line:  
Two variables must be set. These can be as (global/system) environment variables. Or, what we document here, as variables in a batch file/script or on the command line:  


# '''MOZ_LOG''' - '''Case sensitive''' module name and log level separated by colon, multiple modules separated by comma, and additional options:
# '''MOZ_LOG''' - '''Case sensitive''' module name and log level separated by colon, multiple modules separated by comma, and additional options:
Line 68: Line 68:
=== Windows ===
=== Windows ===


Create a batch file by copying the lines below and paste them into the notepad application, and save the file as "create_imap_log.bat".  
Create a batch file by copying the lines below and paste them into the notepad application, and save the file as "create_imap_log.bat".  Variables must not contain quotation marks.


  set MOZ_LOG=IMAP:5,timestamp
  set MOZ_LOG=IMAP:5,timestamp
canmove, Confirmed users
2,081

edits