m2u-upass-admin / resource / log4j.xml @ 134:f492267ed074
History | View | Annotate | Download (1.9 KB)
1 | 0:ea666cc7880e | hadi | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | <!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN"
|
||
3 | "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/doc-files/log4j.dtd">
|
||
4 | <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> |
||
5 | <appender name="IBLog" class="org.apache.log4j.DailyRollingFileAppender"> |
||
6 | <param name="File" value="IBAM_System.log" /> |
||
7 | <param name="Append" value="true" /> |
||
8 | <param name="DatePattern" value="@yyyy-MM-dd"/> |
||
9 | <layout class="org.apache.log4j.PatternLayout"> |
||
10 | <param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss:SSS} %-5p %c{4}: %m%n"/> |
||
11 | </layout>
|
||
12 | </appender>
|
||
13 | |||
14 | <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender"> |
||
15 | <layout class="org.apache.log4j.PatternLayout"> |
||
16 | <param name="ConversionPattern" value="%d{[dd/MM/yyyy] [HH:mm:ss:SSS]} [%4p] [%c{1}]:%L - %m%n"/> |
||
17 | </layout>
|
||
18 | </appender>
|
||
19 | |||
20 | <logger name="org.hibernate"> |
||
21 | <level value="error" /> |
||
22 | <appender-ref ref="ConsoleAppender"/> |
||
23 | </logger>
|
||
24 | <logger name="com.ib"> |
||
25 | <level value="error" /> |
||
26 | <appender-ref ref="IBLog"/> |
||
27 | </logger>
|
||
28 | <logger name="com.mchange"> |
||
29 | <level value="error"/> |
||
30 | </logger>
|
||
31 | <logger name="com.mchange.v2.c3p0"> |
||
32 | <level value="error"/> |
||
33 | </logger>
|
||
34 | <logger name="com.ib.message"> |
||
35 | <level value="debug"/> |
||
36 | </logger>
|
||
37 | <logger name="com.ib.enterprise.services"> |
||
38 | <level value="debug"/> |
||
39 | </logger>
|
||
40 | <logger name="com.ib.enterprise.services.integration"> |
||
41 | <level value="debug"/> |
||
42 | </logger>
|
||
43 | <logger name="com.ib.common.utils.MACUtils"> |
||
44 | <level value="info"/> |
||
45 | </logger>
|
||
46 | |||
47 | 124:4a2b001a3331 | mohd | <logger name="my.com.upass"> |
48 | <level value="error" /> |
||
49 | <appender-ref ref="IBLog"/> |
||
50 | </logger>
|
||
51 | <logger name="my.com.upass.spring.ldap"> |
||
52 | <level value="debug"/> |
||
53 | </logger>
|
||
54 | |||
55 | 0:ea666cc7880e | hadi | <root>
|
56 | <priority value="error" /> |
||
57 | <appender-ref ref="ConsoleAppender"/> |
||
58 | </root>
|
||
59 | </log4j:configuration> |