diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-18 08:03:10 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-18 08:03:10 +0000 |
commit | 37dc5101883283ff2628e899449384154bcb8fcd (patch) | |
tree | 9c90c1b0bcdb2c3a1dfd914ed6daf6ca43653794 /plugins/imklog | |
parent | 8550278ca48b2953db359e6bb00df562db6961a1 (diff) | |
download | rsyslog-37dc5101883283ff2628e899449384154bcb8fcd.tar.gz rsyslog-37dc5101883283ff2628e899449384154bcb8fcd.tar.xz rsyslog-37dc5101883283ff2628e899449384154bcb8fcd.zip |
- changed interface "printchopped()" so that it looks more like a generic
message submission interface. Part of the ongoing modularization
effort.
- bugfix: invalid kernel log format -- see bug
http://bugzilla.adiscon.com/show_bug.cgi?id=1
Diffstat (limited to 'plugins/imklog')
-rw-r--r-- | plugins/imklog/imklog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 5bc0f068..6e6f486d 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -130,6 +130,8 @@ static rsRetVal writeSyslogV(int iPRI, const char *szFmt, va_list va) /* here we must create our message object and supply it to the message queue */ + CHKiRet(parseAndSubmitMessage(LocalHostName, msgBuf, strlen(msgBuf), MSG_DONT_PARSE_HOSTNAME)); +#if 0 CHKiRet(msgConstruct(&pMsg)); MsgSetUxTradMsg(pMsg, msgBuf); MsgSetRawMsg(pMsg, msgBuf); @@ -143,6 +145,7 @@ static rsRetVal writeSyslogV(int iPRI, const char *szFmt, va_list va) /* provide message to the queue engine */ logmsg(pMsg, INTERNAL_MSG); +#endif finalize_it: RETiRet; |