up-cli.4.3.0.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlineup-cli Show documentation
Show all versions of jlineup-cli Show documentation
The cli version of JLineup
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <Target>System.out</Target> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>INFO</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> <encoder> <pattern>%msg%n</pattern> </encoder> </appender> <appender name="STDOUT2" class="ch.qos.logback.core.ConsoleAppender"> <Target>System.out</Target> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>WARN</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> <encoder> <pattern>%msg%n</pattern> </encoder> </appender> <appender name="STDOUT3" class="ch.qos.logback.core.ConsoleAppender"> <Target>System.out</Target> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>DEBUG</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> <encoder> <pattern>%msg%n</pattern> </encoder> </appender> <appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender"> <Target>System.err</Target> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>ERROR</level> <onMatch>ACCEPT</onMatch> <onMismatch>DENY</onMismatch> </filter> <encoder> <pattern>%msg%n</pattern> </encoder> </appender> <appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender"> <discriminator> <key>reportlogname</key> <defaultValue>unknown</defaultValue> </discriminator> <sift> <appender name="FILE-${reportlogname}" class="ch.qos.logback.core.FileAppender"> <file>${reportlogname}</file> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern>%d{HH:mm:ss:SSS} | %-5level | %thread | %logger{20} | %msg%n%rEx</pattern> </layout> </appender> </sift> <filter class="de.otto.jlineup.cli.LogToFileFilter" /> </appender> <root level="INFO"> <appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT2" /> <appender-ref ref="STDOUT3" /> <appender-ref ref="STDERR" /> <appender-ref ref="SIFT" /> </root> </configuration>