diff options
| author | Alexander Barton <alex@barton.de> | 2011-06-28 13:45:16 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-06-28 13:45:16 +0200 |
| commit | 7ae7ace579915dc023722f733f30e941d371cab3 (patch) | |
| tree | 69e89b815ac40e1bb8970e56ccf238b76287c039 /man/ngircd.8.tmpl | |
| parent | 5f400694cfee5bed6be0ac0a5c1638ed9b413c55 (diff) | |
| download | ngircd-7ae7ace579915dc023722f733f30e941d371cab3.tar.gz ngircd-7ae7ace579915dc023722f733f30e941d371cab3.zip | |
ngircd.8: document debugging options
Diffstat (limited to 'man/ngircd.8.tmpl')
| -rw-r--r-- | man/ngircd.8.tmpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/man/ngircd.8.tmpl b/man/ngircd.8.tmpl index d907e6fa..9da7ef83 100644 --- a/man/ngircd.8.tmpl +++ b/man/ngircd.8.tmpl @@ -76,6 +76,31 @@ re-initialize the daemon. .SH HINTS It's wise to use "ngircd \-\-configtest" to validate the configuration file after changing it. +.SH DEBUGGING +When ngIRCd is compiled with debug code, that is, its source code has +been ./configure'd with "--enable-debug" and/or "--enable-sniffer" (witch +enables debug mode automatically as well), you can use two more command +line options and two more signals to debug problems with the daemon itself +or IRC clients: +.PP +\fBOptions:\fR +.TP +\fB\-d\fR, \fB\-\-debug\fR +Enable debug mode and log extra messages. +.TP +\fB\-s\fR, \fB\-\-sniffer\fR +Enable IRC protocol sniffer, which logs all sent and received IRC commands to +the console/syslog. This option requires that ngIRCd has been ./configure'd +with "--enable-sniffer" and enables debug mode automatically, too. +.PP +\fBSignals:\fR +.TP +\fBUSR1\fR +Toggle debug mode on and off during runtime. +.TP +\fBUSR2\fR +Dump internal server state to the console/syslog when debug mode is on (use +command line option \-\-debug or signal USR1). .SH AUTHORS Alexander Barton, <alex@barton.de> .br |