s.issue-keeper-base.2.2.0.source-code.logback.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- APPENDERS LIST --> <!-- show log entries on console --> <appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>INFO</level> </filter> <encoder> <pattern>[%d] %-5p- %m%n</pattern> </encoder> </appender> <appender name="asyncConsoleAppender" class="ch.qos.logback.classic.AsyncAppender"> <queueSize>300</queueSize> <appender-ref ref="consoleAppender" /> </appender> <!-- show only WARN messages on console, used for loggers that want to print info or debug messages to file, but only WARN (and higher) messages to console --> <appender name="warnConsoleAppender" class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>WARN</level> </filter> <encoder> <pattern>[%d] %-5p- %m%n</pattern> </encoder> </appender> <appender name="asyncWarnConsoleAppender" class="ch.qos.logback.classic.AsyncAppender"> <queueSize>300</queueSize> <appender-ref ref="warnConsoleAppender" /> </appender> <!-- show only ERROR messages on console, used for loggers that want to print info or debug messages to file, but only ERROR messages to console --> <appender name="errorConsoleAppender" class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>ERROR</level> </filter> <encoder> <pattern>[%d] %-5p- %m%n</pattern> </encoder> </appender> <appender name="asyncErrorConsoleAppender" class="ch.qos.logback.classic.AsyncAppender"> <queueSize>300</queueSize> <appender-ref ref="errorConsoleAppender" /> </appender> <root level="error"> <appender-ref ref="asyncErrorConsoleAppender" /> <!-- prints only error messages to console --> </root> </configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy