Last active
October 20, 2018 07:00
-
-
Save mrbald/59ce7952d9e17dbccc28f382fb427292 to your computer and use it in GitHub Desktop.
Logback configuration filtering JEE noise stack trace elelemts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration scan="false" debug="true"> | |
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} > %-5p > %t > %c > %m%n%rEx{full, | |
java.lang.reflect.Method, | |
org.springframework.aop, | |
org.springframework.transaction, | |
org.springframework.security, | |
org.springframework.web, | |
org.springframework.cglib, | |
sun.reflect, | |
java.lang.reflect, | |
net.sf.cglib, | |
ByCGLIB, | |
BySpringCGLIB, | |
} | |
</pattern> | |
</encoder> | |
</appender> | |
<logger name="com.example" level="INFO"/> | |
<root> | |
<level value="WARN"/> | |
<appender-ref ref="CONSOLE"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment