Hi Developers,

Does it make sense to extend SysLogAppender with  "throwableMessageAppended" 
field to allow attach Exception/Throwable message
to event ?

Reason: Syslog is non linux/unix event logging system that does not support 
multi-line, so java developers play with substitution of EndOfLine symbols to 
make it conform unix rules for event logging. But in this case event become 
unreadable if full stacktrace is in event. It is most likely required only to 
see Exception message and then decide how to react on problem.

No message nor full stacktrace is enough to investigate and fix problem - 
developer need see full log from job and context of event before. So having 
ability to have in Syslog only exception message is more convenient and short.

In detail, and examples:  
http://roman-ivanov.blogspot.com/2013/10/logging-exception-message-in-log-event.html

Thanks,
Roman Ivanov
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to