Question

I've configured syslog-ng for a java application running on sles 10, when an exception occurs it shows stack trace without new lines.

any suggestion is appreciated.

Was it helpful?

Solution 2

I think it's available on version 3.5 of syslog-ng.

OTHER TIPS

I would have thought so; at least I know rsyslogd can. Java stack traces can be very large quite large, so you may like to use TCP instead. I would recommend using the logger command to simulate the test, and using tcpdump -s0 -A port syslog to determine if the new-line characters are being transmitted.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top