SYNAXON / logstash-util-formatter

Java Util Logging formatter to encode logging events as json events which can consumed by logstash.
Other
22 stars 23 forks source link

Stacktrace field doesn't include causes, suppressed exceptions... #10

Open johnedo1234 opened 9 years ago

johnedo1234 commented 9 years ago

Causes and suppressed exceptions are absolutely critical to log.

johnedo1234 commented 9 years ago

Looks like the impl is doing it's own writing of the stacktrace, and it leaves out all sorts of important info.

Seems simpler to just log the regular old Java stacktrace and leave it to the JDK to define what exactly that means.

johnedo1234 commented 9 years ago

Submitted pull request with fix: https://github.com/SYNAXON/logstash-util-formatter/pull/12

stacktrace field now includes the standard Java stacktrace in all its glory, even if the stacktrace is empty. KISS.