Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabberrc.example @ 374:bd5638c21834
Improve logging system (traces)
There are now two trace logging levels:
* tracelog_level = 1:
Most messages from the log window are written to disk (LPRINT_LOG)
* tracelog_level =2:
LPRINT_LOG & LPRINT_DEBUG messages are written to disk
The trace file name is set with the "tracelog_file" option.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 25 Jul 2005 21:46:35 +0100 |
parents | 33b8e801ffa6 |
children | d37d8d661115 |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Mon Jul 25 19:40:17 2005 +0100 +++ b/mcabber/mcabberrc.example Mon Jul 25 21:46:35 2005 +0100 @@ -51,10 +51,14 @@ # See sample script in contrib/ directory. #set events_command = /home/mikael/.mcabber/eventcmd -# Debug logging -# If you want advanced debug, please specify a file here. -# You can enable debug in main.c before compiling mcabber, too. -#set debug = /home/mikael/mcabber.log +# Traces logging +# If you want advanced traces, please specify a file and a level here. +# There are currently 2 traceloglog levels: +# lvl 1: most events of the log window are written to the file +# lvl 2: debug logging (XML, etc.) +# Default is level 0, no trace logging +#set tracelog_level = 1 +#set tracelog_file = /home/mikael/mcabber.log # Status messages # The "message" value will override all others, take care!