debase.widebase-plant_2.9.2.0.3.3.source-code.log4j.xml Maven / Gradle / Ivy
The newest version!
<?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,SSS} %-p %c: %m%n" /> </layout> </appender> <appender name="file" class="org.apache.log4j.DailyRollingFileAppender"> <param name="file" value="${widebase.log}/widebase-plant.log"/> <param name="datePattern" value="yyyy-MM" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss,SSS} %-p %c: %m%n" /> </layout> </appender> <root> <priority value ="INFO"/> <appender-ref ref="console"/> <appender-ref ref="file"/> </root> </log4j:configuration>