Joern Huxhorn commented on Bug LOGBACK-328

Feel free to take the toString() code from https://github.com/huxi/lilith/blob/master/lilith-data/logging/src/main/java/de/huxhorn/lilith/data/logging/ThrowableInfo.java

It's not entirely trivial. The indentation handling of suppressed exceptions has changed at some point (not sure if this happened before final release of Java 7) and proper indentation is necessary to enable correct parsing of the Throwable.

Tests for the above code are available at https://github.com/huxi/lilith/blob/master/lilith-data/logging/src/test/groovy/de/huxhorn/lilith/data/logging/ThrowableInfoSpec.groovy

I already signed a CLA and you may change the license however you like.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira