Created
May 15, 2015 12:22
-
-
Save ybr/d7471f52ce868dfefa64 to your computer and use it in GitHub Desktop.
logback
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
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.9" | |
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.2" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>[%highlight(%-5level)] %logger{5} - %msg%n</pattern> | |
</encoder> | |
</appender> | |
<logger name="jobs" level="INFO"/> | |
<logger name="csv" level="TRACE"/> | |
<root level="WARN"> | |
<appender-ref ref="STDOUT" /> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment