summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-28 10:48:51 +0000
commit59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 (patch)
treeb9dac56dd55c1c5593dab1fa3017fd24bf0a8d32 /syslogd.c
parent082737dec693fbb531ca9dad3ab9b638baaa3327 (diff)
downloadrsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.gz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.tar.xz
rsyslog-59b67824d6ada9e224beef8ec9a6e6e566e1fcf8.zip
some more testing and cleanup with the queue class (pretty stable now)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 3 insertions, 1 deletions
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).