e.mist_2.11.0.8.0.source-code.logback.xml Maven / Gradle / Ivy
<configuration> <appender name="sout" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern> </layout> </appender> <appender name="log4j" class="ch.qos.logback.core.FileAppender"> <file>./logs/log_log4j.log</file> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</Pattern> </layout> </appender> <root level="INFO"> <appender-ref ref="sout" /> <appender-ref ref="log4j" /> </root> </configuration>