commit 4a90959cb563e7c6ca57d32779074b448982c94f from: Alexander Barton date: Fri Jun 08 20:08:52 2012 UTC Log a debug message when SIGUSR2 is handled commit - 9b1cf420f1e8768166e823891d7897590bdec638 commit + 4a90959cb563e7c6ca57d32779074b448982c94f blob - 427789c3fbbaf291aa026753aa4d86bcc76c1f66 blob + efb41bcd8465147ff68fff0f70afcac1452cdba9 --- src/ngircd/sighandlers.c +++ src/ngircd/sighandlers.c @@ -218,8 +218,11 @@ Signal_Handler_BH(int Signal) break; #ifdef DEBUG case SIGUSR2: - if (NGIRCd_Debug) + if (NGIRCd_Debug) { + Log(LOG_INFO|LOG_snotice, + "Got SIGUSR2, dumping internal state ..."); Dump_State(); + } break; default: Log(LOG_DEBUG, "Got signal %d! Ignored.", Signal);