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/">
6 <!-- Generated at 11/07/2013 04:06:50 -->
7 <!-- Don't edit manually. See the source in /data/SIMAN/SIMAN_SRC/Workspace/Siman-WS/conf/templates. -->
9 <appender name="console" class="org.apache.log4j.ConsoleAppender">
10 <layout class="org.apache.log4j.PatternLayout">
11 <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
15 <appender name="logfile" class="org.apache.log4j.RollingFileAppender">
16 <param name="File" value="${catalina.home}/logs/SimanWS.log" />
17 <param name="MaxFileSize" value="500KB" />
18 <param name="MaxBackupIndex" value="10" />
19 <param name="Append" value="false" />
20 <layout class="org.apache.log4j.PatternLayout">
21 <param name="ConversionPattern" value="[%t] %-5p %-11c{1} - %m%n"/>
25 <!-- specify the logging level for loggers from other libraries -->
26 <logger name="com.opensymphony">
27 <level value="DEBUG" />
30 <logger name="org.apache.struts2">
31 <level value="DEBUG" />
34 <logger name="log4j.logger.org.apache.struts">
35 <level value="DEBUG" />
38 <logger name="org.springframework">
39 <level value="DEBUG" />
42 <logger name="org.hibernate">
43 <level value="DEBUG" />
46 <logger name="org.splat.siman">
47 <level value="DEBUG" />
50 <logger name="log4j.logger.org.hibernate">
51 <level value="DEBUG" />
54 <category name="com.opensymphony.xwork2.validator">
55 <priority value="DEBUG"/>
58 <category name="org.apache.struts2.interceptor.validation">
59 <priority value="DEBUG"/>
63 <!-- for all other loggers log only debug and above log messages -->
65 <priority value="DEBUG"/>
66 <appender-ref ref="logfile" />
67 <appender-ref ref="console"/>
70 </log4j:configuration>