]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-WS/src/log4j.xml
Salome HOME
Copyrights update 2015.
[tools/siman.git] / Workspace / Siman-WS / src / log4j.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "../WebContent/META-INF/dtds/log4j.dtd">
3
4 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
5
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. -->
8         
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"/> 
12         </layout> 
13     </appender>
14     
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"/>             
22         </layout> 
23     </appender>
24  
25     <!-- specify the logging level for loggers from other libraries -->
26     <logger name="com.opensymphony">
27         <level value="DEBUG" />
28     </logger>
29
30     <logger name="org.apache.struts2">
31         <level value="DEBUG" />
32     </logger>
33
34     <logger name="log4j.logger.org.apache.struts">
35         <level value="DEBUG" />
36     </logger>
37
38     <logger name="org.springframework">
39         <level value="DEBUG" />
40     </logger>
41
42     <logger name="org.hibernate">
43         <level value="DEBUG" />
44     </logger>
45
46     <logger name="org.splat.siman">
47         <level value="DEBUG" />
48     </logger>
49   
50     <logger name="log4j.logger.org.hibernate">
51         <level value="DEBUG" />
52     </logger>
53
54     <category name="com.opensymphony.xwork2.validator">
55       <priority value="DEBUG"/>
56    </category>
57
58    <category name="org.apache.struts2.interceptor.validation">
59       <priority value="DEBUG"/>
60    </category>
61    
62
63    <!-- for all other loggers log only debug and above log messages -->
64      <root>
65         <priority value="DEBUG"/> 
66         <appender-ref ref="logfile" /> 
67                 <appender-ref ref="console"/> 
68      </root> 
69
70 </log4j:configuration>