From 1afd79df5f1da6ce6da8dd594bc4fb32796acb9b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 15 Jan 2013 14:27:33 +0100 Subject: bugfix: imklog issued wrong facility in error messages ...what could lead to problems in other parts of the code --- ChangeLog | 2 ++ plugins/imklog/bsd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d5b040bc..6fb3d811 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ Version 7.3.6 [devel] 2012-12-?? - impstats: added ability to write stats records to local file and avoid going through the syslog log stream. syslog logging can now also be turned off (see doc for details). +- bugfix: imklog issued wrong facility in error messages + ...what could lead to problems in other parts of the code - fix compile problem in imklog - added capability to output thread-id-to-function debug info This is a useful debug aid, but nothing of concern for regular users. diff --git a/plugins/imklog/bsd.c b/plugins/imklog/bsd.c index 0fbee491..9c2eebb2 100644 --- a/plugins/imklog/bsd.c +++ b/plugins/imklog/bsd.c @@ -172,7 +172,7 @@ klogWillRun(modConfData_t *pModConf) fklog = open((char*)GetPath(pModConf), O_RDONLY, 0); if (fklog < 0) { - imklogLogIntMsg(RS_RET_ERR_OPEN_KLOG, "imklog: cannot open kernel log(%s): %s.", + imklogLogIntMsg(LOG_ERR, "imklog: cannot open kernel log(%s): %s.", GetPath(pModConf), rs_strerror_r(errno, errmsg, sizeof(errmsg))); ABORT_FINALIZE(RS_RET_ERR_OPEN_KLOG); } -- cgit v1.2.3