<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="MainLogger" class="org.apache.log4j.DailyRollingFileAppender"> <param name="File" value="/opt/storklogs/stork-commons.log" /> <param name="DatePattern" value="'.'yyyy-MM-dd" /> <param name="Append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{HH:mm:ss:SSS} - %p - %C{1} - %m%n" /> </layout> </appender> <root> <priority value="info" /> <appender-ref ref="MainLogger" /> </root> </log4j:configuration>