nlin901203.sunny.0.0.2.source-code.log4j.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="Console" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> </appender> <appender name="Debug" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/log/sunny-debug.log"/> <param name="Append" value="true"/> <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> <param name="BufferedIO" value="true"/> <param name="BufferSize" value="8192"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="DEBUG"/> <param name="LevelMax" value="DEBUG"/> </filter> </appender> <appender name="Info" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/log/sunny-info.log"/> <param name="Append" value="true"/> <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> <param name="BufferedIO" value="true"/> <param name="BufferSize" value="8192"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="INFO"/> <param name="LevelMax" value="INFO"/> </filter> </appender> <appender name="Warn" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/log/sunny-warn.log"/> <param name="Append" value="true"/> <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> <param name="BufferedIO" value="true"/> <param name="BufferSize" value="8192"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="WARN"/> <param name="LevelMax" value="WARN"/> </filter> </appender> <appender name="Error" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/log/sunny-error.log"/> <param name="Append" value="true"/> <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> <param name="BufferedIO" value="true"/> <param name="BufferSize" value="8192"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="ERROR"/> <param name="LevelMax" value="ERROR"/> </filter> </appender> <appender name="Fatal" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/tmp/log/sunny-fatal.log"/> <param name="Append" value="true"/> <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> <param name="BufferedIO" value="true"/> <param name="BufferSize" value="8192"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}\t%C.%M()\t%L\t%m%n"/> </layout> <filter class="org.apache.log4j.varia.LevelRangeFilter"> <param name="LevelMin" value="FATAL"/> <param name="LevelMax" value="FATAL"/> </filter> </appender> <root> <priority value="Debug"/> <appender-ref ref="Console"/> <appender-ref ref="Debug"/> <appender-ref ref="Info"/> <appender-ref ref="Warn"/> <appender-ref ref="Error"/> <appender-ref ref="Fatal"/> </root> </log4j:configuration>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy