Next Previous Contents

4.10 Debugging and logging

Logging to syslog is enabled by default, disable it with the -L flag. When syslog use is disabled all log messages will be sent to "standard error".

Logging of nicknames is enabled by default, disable it with the -D flag.

Debugging logs are disabled by default. Enable them with the -d level option (level is a number from 0 to 9).

Syslog information

Tircproxy will by default send all log messages to syslog, using the DAEMON facility and tagging each line with the process ID and either the string tircproxy or proxy, depending on whether the proxy is running as an IRC proxy or in generic mode.

Debugging verbosity

If you are having trouble getting the proxy to work as expected, you can increase the verbosity of the logs it creates, by setting the debug level to a nonzero value. The defined levels are:

The levels are incremental, level 9 includes all messages from level 8, level 8 contains all messages from level 7, and so on.

Levels 3-7 are at the moment identical to level 2, but are reserved for future development.


Next Previous Contents