1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "../WebContent/META-INF/dtds/log4j.dtd">
4 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
5 <!-- Generated at @datesimple@ @time@ -->
7 <appender name="console" class="org.apache.log4j.ConsoleAppender">
8 <layout class="org.apache.log4j.PatternLayout">
9 <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
13 <appender name="logfile" class="org.apache.log4j.RollingFileAppender">
14 <param name="File" value="${catalina.home}/logs/siman.log" />
15 <param name="MaxFileSize" value="500KB" />
16 <param name="MaxBackupIndex" value="10" />
17 <param name="Append" value="false" />
18 <layout class="org.apache.log4j.PatternLayout">
19 <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
23 <!-- specify the logging level for loggers from other libraries -->
24 <logger name="com.opensymphony">
25 <level value="@com.opensymphony.logger.level@" />
28 <logger name="org.apache.struts2">
29 <level value="@org.apache.struts2.logger.level@" />
32 <logger name="org.springframework">
33 <level value="@org.springframework.logger.level@" />
36 <logger name="org.hibernate">
37 <level value="@org.hibernate.logger.level@" />
40 <logger name="org.splat.siman">
41 <level value="@org.splat.siman.logger.level@" />
44 <logger name="log4j.logger.org.hibernate">
45 <level value="@log4j.logger.org.hibernate.logger.level@" />
48 <!-- for all other loggers log only debug and above log messages -->
50 <priority value="@root.logger.level@"/>
51 <appender-ref ref="logfile" />
52 @root.logger.appender@
55 </log4j:configuration>