-
-
Save sffej/3e02ba58c0c5ecb851b101c7dbb49672 to your computer and use it in GitHub Desktop.
a minimal log4j config file
This file contains hidden or 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
log4j.rootLogger=INFO, CONSOLE | |
# CONSOLE is set to be a ConsoleAppender using a PatternLayout | |
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | |
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | |
log4j.appender.CONSOLE.layout.ConversionPattern=[%-5p] %m%n | |
# a more detailed PatternLayout: %d [%t] %-5p %c - %m%n | |
# adjust specific logger levels as per the need to control the verbosity of logs | |
log4j.logger.org.springframework=WARN | |
log4j.logger.com.myproject=TRACE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment