From 59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 28 Jan 2008 10:48:51 +0000 Subject: some more testing and cleanup with the queue class (pretty stable now) --- syslogd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 26c6fb84..2e8b5af6 100644 --- a/syslogd.c +++ b/syslogd.c @@ -2637,7 +2637,7 @@ die(int sig) dbgprintf("Terminating main queue...\n"); queueDestruct(&pMsgQueue); pMsgQueue = NULL; - + /* Free ressources and close connections. This includes flushing any remaining * repeated msgs. */ @@ -2660,6 +2660,8 @@ die(int sig) /* de-init some modules */ modExitIminternal(); + dbgPrintAllDebugInfo(); /* this is the last spot where this can be done - below output modules are unloaded! */ + /* TODO: this would also be the right place to de-init the builtin output modules. We * do not currently do that, because the module interface does not allow for * it. This will come some time later (it's essential with loadable modules). -- cgit v1.2.3