diff options
author | Neale Ferguson <neale@sinenomine.net> | 2016-06-24 19:47:01 +0300 |
---|---|---|
committer | Aleksey Kliger (λgeek) <akliger@gmail.com> | 2016-06-24 19:47:01 +0300 |
commit | e70a8aca1cd575582459db406ab3410e53074b73 (patch) | |
tree | 2c2df220fce8b1f099f8201c1565e926f47c3107 /man | |
parent | cafe2f929064cbdcca09c0434e8a35b5a5b158f2 (diff) |
Enhanced logging - attempt 2.5 (#3191)
* Revert "Revert "Enhance log tracing""
This reverts commit 565c6ac0802eedf68755bd5776c80b00ab388415.
* Better handle legacy log handler processing with suggestions from lamdageek
* Remove unnecessary assignment
* Restore mono_trace_set_log_handler parameters to their original specification
Diffstat (limited to 'man')
-rw-r--r-- | man/mono.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/mono.1 b/man/mono.1 index e2eff1620e7..7bd449dd455 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -1732,6 +1732,16 @@ messages for a certain component. You can use multiple masks by comma separating them. For example to see config file messages and assembly loader messages set you mask to "asm,cfg". .TP +\fBMONO_LOG_DEST\fR +Controls where trace log messages are written. If not set then the messages go to stdout. +If set, the string either specifies a path to a file that will have messages appended to +it, or the string "syslog" in which case the messages will be written to the system log. +Under Windows, this is simulated by writing to a file called "mono.log". +\fBMONO_LOG_HEADER\fR +Controls whether trace log messages not directed to syslog have the id, timestamp, and +pid as the prefix to the log message. To enable a header this environment variable need +just be non-null. +.TP \fBMONO_TRACE\fR Used for runtime tracing of method calls. The format of the comma separated trace options is: |