mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-05 08:54:06 +00:00
Log a debug message when SIGUSR2 is handled
This commit is contained in:
parent
9b1cf420f1
commit
4a90959cb5
@ -218,8 +218,11 @@ Signal_Handler_BH(int Signal)
|
|||||||
break;
|
break;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
case SIGUSR2:
|
case SIGUSR2:
|
||||||
if (NGIRCd_Debug)
|
if (NGIRCd_Debug) {
|
||||||
|
Log(LOG_INFO|LOG_snotice,
|
||||||
|
"Got SIGUSR2, dumping internal state ...");
|
||||||
Dump_State();
|
Dump_State();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Log(LOG_DEBUG, "Got signal %d! Ignored.", Signal);
|
Log(LOG_DEBUG, "Got signal %d! Ignored.", Signal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user