gyesta.file-barj.file-barj-job.1.0.21.source-code.logback.xml Maven / Gradle / Ivy
<configuration> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>file-barj.log</file> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n%ex{3}</pattern> </encoder> </appender> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%white(%d{HH:mm:ss.SSS}) %boldYellow([%8.8thread{8}]) %highlight(%-5level) %highlight(%25.25logger{0}) - %msg%n%ex{3}</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="FILE"/> <appender-ref ref="STDOUT"/> </root> </configuration>