summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-18 14:35:27 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-18 14:35:27 +0200
commit08a4fc4ae56f29cc21c997488291f49b83fd1102 (patch)
treef491f58884bfae73bd6d879c5df0bc542b23cbb3 /tools
parent3dc5bda6eb35f27033af2e2b25a37d74771f0a00 (diff)
downloadrsyslog-08a4fc4ae56f29cc21c997488291f49b83fd1102.tar.gz
rsyslog-08a4fc4ae56f29cc21c997488291f49b83fd1102.tar.xz
rsyslog-08a4fc4ae56f29cc21c997488291f49b83fd1102.zip
bugfix: a recent change effectively disabled error messages
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index f2b18a3d..4327ab7f 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -2771,6 +2771,7 @@ InitGlobalClasses(void)
/* Intialize the runtime system */
pErrObj = "rsyslog runtime"; /* set in case the runtime errors before setting an object */
CHKiRet(rsrtInit(&pErrObj, &obj));
+ CHKiRet(rsrtSetErrLogger(submitErrMsg)); /* set out error handler */
/* Now tell the system which classes we need ourselfs */
pErrObj = "glbl";