Demonstrates the error encountered as part of LOGBACK-1582
- src/test/resources/logback.xml configures Logback to use both a
%replace
androotException
Converters. TherootException
converter is configured to limit the stacktrace depth and filter out unnecessary packages from the stacktrace. - src/test/java/logback1582/LoggingTest.java A JUnit logback1582 to demonstrate the null pointer exception with the above
logback.xml
configuration.