質問

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.

役に立ちましたか?

解決 2

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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top