diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-09 12:08:06 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-07-09 12:08:06 +0200 |
commit | 13f246c3f2e184eed47d495c5cf21af497b4dc9b (patch) | |
tree | a3ba0767751ff6dca495ed756b2658b40ebd0103 /tools | |
parent | 05491329919b41bfeccdbd4758210215a98ff451 (diff) | |
download | rsyslog-13f246c3f2e184eed47d495c5cf21af497b4dc9b.tar.gz rsyslog-13f246c3f2e184eed47d495c5cf21af497b4dc9b.tar.xz rsyslog-13f246c3f2e184eed47d495c5cf21af497b4dc9b.zip |
minor: enhanced debug output (PRI now included)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index dda605a8..3f97a70f 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -1601,7 +1601,7 @@ logmsg(msg_t *pMsg, int flags) assert(pMsg != NULL); assert(pMsg->pszUxTradMsg != NULL); msg = (char*) pMsg->pszUxTradMsg; - dbgprintf("logmsg: flags %x, from '%s', msg %s\n", flags, getRcvFrom(pMsg), msg); + dbgprintf("logmsg: flags %x, pri %s, from '%s', msg %s\n", flags, getPRI(pMsg), getRcvFrom(pMsg), msg); /* rger 2005-11-24 (happy thanksgiving!): we now need to check if we have * a traditional syslog message or one formatted according to syslog-protocol. |