onimatron.anonimatron.1.15.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/" debug="false"> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <param name="Threshold" value="DEBUG"/> <param name="Target" value="System.out"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p (%c{1}.java:0) %m [%x]%n"/> </layout> </appender> <appender name="FILE" class="org.apache.log4j.RollingFileAppender"> <param name="Threshold" value="INFO"/> <param name="File" value="anonimatron.log" /> <param name="Append" value="true" /> <param name="Encoding" value="UTF-8" /> <param name="MaxFileSize" value="200KB" /> <param name="MaxBackupIndex" value="10" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p (%c{1}.java:0) %m [%x]%n"/> </layout> </appender> <category name="org"> <priority value="WARN"/></category> <category name="com.rolfje"> <priority value="DEBUG"/></category> <category name="java.sql"> <priority value="DEBUG"/></category> <category name="oracle"> <priority value="DEBUG"/></category> <root> <appender-ref ref="FILE"/> <appender-ref ref="CONSOLE"/> </root> </log4j:configuration>