com.alibaba.citrus.logconfig.log4j.log4j-default.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender"> <param name="target" value="System.out" /> <param name="encoding" value="${loggingCharset}" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%5p - %m%n" /> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="levelMax" value="INFO" /> </filter> </appender> <appender name="STDERR" class="org.apache.log4j.ConsoleAppender"> <param name="target" value="System.err" /> <param name="encoding" value="${loggingCharset}" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%5p - %m%n" /> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="levelMin" value="WARN" /> </filter> </appender> <logger name="org.apache.commons"> <level value="WARN" /> </logger> <logger name="com.alibaba.antx.config.generator.VelocityTemplateEngine"> <level value="WARN" /> </logger> <root> <level value="${loggingLevel}" /> <appender-ref ref="STDERR" /> <appender-ref ref="STDOUT" /> </root> </log4j:configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy