summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-06-10 10:17:04 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-06-10 10:17:04 +0200
commit559cb84a79a9848ce1415569158928478991108c (patch)
tree65534ac2ef41595a1bdd04bbf9f692feea5408c5 /runtime/parser.c
parent3e49a1075ab6750135e1a38cf0c213579fa30b4a (diff)
downloadrsyslog-559cb84a79a9848ce1415569158928478991108c.tar.gz
rsyslog-559cb84a79a9848ce1415569158928478991108c.tar.xz
rsyslog-559cb84a79a9848ce1415569158928478991108c.zip
fixing msg duplication & loss regression, causes slowdown
messages could get lost or be duplicated due to non-proper sync of transactions. This is a notable slowdown again, but we know how to get back concurrency, it just takes "some" more programming. It is important now to come back to correct code, so that we can base further improvements on that.
Diffstat (limited to 'runtime/parser.c')
-rw-r--r--runtime/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parser.c b/runtime/parser.c
index bd0bf8e9..40374ae1 100644
--- a/runtime/parser.c
+++ b/runtime/parser.c
@@ -489,7 +489,7 @@ ParseMsg(msg_t *pMsg)
/* we take the risk to print a non-sanitized string, because this is the best we can get
* (and that functionality is too important for debugging to drop it...).
*/
- DBGPRINTF("msg parser: flags %x, from '%s', msg '%.50s'\n", pMsg->msgFlags,
+ DBGPRINTF("msg parser: flags %x, from '%s', msg '%.60s'\n", pMsg->msgFlags,
(pMsg->msgFlags & NEEDS_DNSRESOL) ? UCHAR_CONSTANT("~NOTRESOLVED~") : getRcvFrom(pMsg),
pMsg->pszRawMsg);