[logback-user] logback prints stack trace twice when writing to syslog
kumar k
kumar.wasad at gmail.com
Wed Apr 29 19:51:49 CEST 2020
Hello,
I am writing my dropwizard logs to syslog using logback pattern. I see an
issue for stack traces prinitng it twice(once linearized and once as
multi-line). Is there any parameter which could avoid this issue?
Config:
syslog: enabled: 'true' threshold: ALL host: localhost facility: local6
logFormat: “MMJ: %p [%logger{0} %t] %c{30} %m [%X]%n
%throwable{separator(|)}"
*Logs printing twice:* Multiline: 2020-04-27T13:20:46+00:00 MMJ MMJ: ERROR
[ConcurrentAuditPersisterQueueSubscriber qe_Event_Queue_AUDIT-1]
t.h.w.a.s.ConcurrentAuditPersisterQueueS ubscriber Error processing message
payload [] 2020-04-27T13:20:46+00:00 MMJ #011net.liftweb.json.JsonParser$
unknown token <#012Near:
*linearized: *2020-04-27T13:20:46+00:00 MMJ MMJ: ERROR
[ConcurrentAuditPersisterQueueSubscriber qe_Event_Queue_AUDIT-1]
t.h.w.a.s.ConcurrentAuditPersisterQueueS ubscriber Error processing message
payload []#012#011net.liftweb.json.JsonParser$ unknown token <#012Near:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20200429/ad4237ea/attachment.html>
More information about the logback-user
mailing list