Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-rc1
-
None
-
------------------------------------------------------------
Gradle 1.12
------------------------------------------------------------Build time: 2014-04-29 09:24:31 UTC
Build number: none
Revision: a831fa866d46cbee94e61a09af15f9dd95987421Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
Ivy: 2.2.0
JVM: 1.8.0_05 (Oracle Corporation 25.5-b02)
OS: Mac OS X 10.9.3 x86_64------------------------------------------------------------ Gradle 1.12 ------------------------------------------------------------ Build time: 2014-04-29 09:24:31 UTC Build number: none Revision: a831fa866d46cbee94e61a09af15f9dd95987421 Groovy: 1.8.6 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 Ivy: 2.2.0 JVM: 1.8.0_05 (Oracle Corporation 25.5-b02) OS: Mac OS X 10.9.3 x86_64
Description
(Actual version was 2.0-rc2 but that wasn't available in the list.)
Currently, any potentially available suppressed exceptions are ignored by ConsoleAppender.
Instead, it should print those exceptions with the prefix "Suppressed: ". Be aware that suppressed exceptions are indented with a \t, recursively, in contrast to the way "Caused by: " is handled.
See Throwable.printStackTrace of Java 7 or higher for the implementation.
Feel free to use the code over at https://github.com/huxi/lilith/blob/master/lilith-data/logging/src/main/java/de/huxhorn/lilith/data/logging/ThrowableInfo.java if it helps.