gyesta.file-barj.file-barj-job.0.11.2.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([%thread]) %highlight(%-5level) %highlight(%logger{36}) - %msg%n%ex{3}</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="FILE"/> <appender-ref ref="STDOUT"/> </root> </configuration>