summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-18 12:39:19 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-18 12:39:19 +0100
commitadf3e203bd180c43e68bb0d87656e7ef470e269d (patch)
tree829f4d9a25e6055de9cb06ad2132c3915135e836 /plugins
parent1fb45d3e993e44e1595fc54f1ad3b786c66fbb4c (diff)
downloadrsyslog-adf3e203bd180c43e68bb0d87656e7ef470e269d.tar.gz
rsyslog-adf3e203bd180c43e68bb0d87656e7ef470e269d.tar.xz
rsyslog-adf3e203bd180c43e68bb0d87656e7ef470e269d.zip
enabled imudp to send complete text of large messages to debug log
... it turns out that this is sometimes extremely useful when debugging real-world problems at user sites.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imudp/imudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index 0970259d..f8555f00 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -241,7 +241,7 @@ processSocket(int fd, struct sockaddr_storage *frominetPrev, int *pbIsPermitted,
}
}
- DBGPRINTF("recv(%d,%d)/%s,acl:%d,msg:%.80s\n", fd, (int) lenRcvBuf, fromHost, *pbIsPermitted, pRcvBuf);
+ DBGPRINTF("recv(%d,%d)/%s,acl:%d,msg:%s\n", fd, (int) lenRcvBuf, fromHost, *pbIsPermitted, pRcvBuf);
if(*pbIsPermitted) {
if((iTimeRequery == 0) || (iNbrTimeUsed++ % iTimeRequery) == 0) {