summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 14:34:22 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 14:34:22 +0000
commit653ec62b23346eaab4f2f3830eeb7f1634a924c5 (patch)
treebea302747c51827905f2c8fc7eb8e4e243474149 /syslogd.c
parent8132d66186c8c08c44bb3504cb91e2e12bee11c1 (diff)
downloadrsyslog-653ec62b23346eaab4f2f3830eeb7f1634a924c5.tar.gz
rsyslog-653ec62b23346eaab4f2f3830eeb7f1634a924c5.tar.xz
rsyslog-653ec62b23346eaab4f2f3830eeb7f1634a924c5.zip
- implemented afterRun input module interface function
- implemented $klogSymbolsTwice config directive
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index f3b3042f..3a35f732 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4214,7 +4214,7 @@ startInputModules(void)
while(pMod != NULL) {
if((iRet = pMod->mod.im.willRun()) == RS_RET_OK) {
/* activate here */
- thrdCreate(pMod->mod.im.runInput, pMod->mod.im.eTermSyncType);
+ thrdCreate(pMod->mod.im.runInput, pMod->mod.im.eTermSyncType, pMod->mod.im.afterRun);
} else {
dbgprintf("module %lx will not run, iRet %d\n", (unsigned long) pMod, iRet);
}
@@ -4248,7 +4248,6 @@ init(void)
eDfltHostnameCmpMode = HN_NO_COMP;
Forwarding = 0;
-dbgprintf("init()\n");
thrdTerminateAll(); /* stop all running threads - TODO: reconsider location! */
#ifdef SYSLOG_INET
if (restart) {