hik.integraal-all.1.5.1.source-code.logback.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Console Appender --> <appender name="ConsoleAppender" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36}:%L - %method: %msg%n</pattern> </encoder> </appender> <!-- File Appender --> <appender name="FileAppender" class="ch.qos.logback.core.FileAppender"> <file>integraal.log</file> <append>false</append> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36}:%L - %method: %msg%n</pattern> </encoder> </appender> <!-- Root logger configuration --> <root level="ERROR"> <appender-ref ref="FileAppender" /> <appender-ref ref="ConsoleAppender" /> </root> </configuration>