Fix other logging category typo related to r2464.
[java-idp.git] / resources / conf / logging.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <configuration>
4
5     <!-- 
6         Logging appenders define where and how logging messages are logged.
7      -->
8     <appender name="IDP_ACCESS" class="ch.qos.logback.core.rolling.RollingFileAppender">
9         <File>$IDP_HOME$/logs/idp-access.log</File>
10         <ImmediateFlush>true</ImmediateFlush>
11
12         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
13             <FileNamePattern>$IDP_HOME$/logs/idp-access-%d{yyyy-MM-dd}.log</FileNamePattern>
14         </rollingPolicy>
15
16         <layout class="ch.qos.logback.classic.PatternLayout">
17             <Pattern>%msg%n</Pattern>
18         </layout>
19     </appender>
20
21     <appender name="IDP_AUDIT" class="ch.qos.logback.core.rolling.RollingFileAppender">
22         <File>$IDP_HOME$/logs/idp-audit.log</File>
23         <ImmediateFlush>true</ImmediateFlush>
24
25         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
26             <FileNamePattern>$IDP_HOME$/logs/idp-audit-%d{yyyy-MM-dd}.log</FileNamePattern>
27         </rollingPolicy>
28
29         <layout class="ch.qos.logback.classic.PatternLayout">
30             <Pattern>%msg%n</Pattern>
31         </layout>
32     </appender>
33
34     <appender name="IDP_PROCESS" class="ch.qos.logback.core.rolling.RollingFileAppender">
35         <File>$IDP_HOME$/logs/idp-process.log</File>
36         <!-- Uncomment this if application is terminating in such as way that the last few log messages are not written to disk -->
37         <!--
38         <ImmediateFlush>true</ImmediateFlush>
39         -->
40         
41         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
42             <FileNamePattern>$IDP_HOME$/logs/idp-process-%d{yyyy-MM-dd}.log</FileNamePattern>
43         </rollingPolicy>
44
45         <layout class="ch.qos.logback.classic.PatternLayout">
46             <!-- General logging pattern -->
47             <Pattern>%date{HH:mm:ss.SSS} %level [%logger] %msg%n%ex{full}%n</Pattern>
48             
49             <!-- Debug logging pattern -->
50             <!--
51             <Pattern>%date{HH:mm:ss.SSS} %level [%logger:%line] - %msg%n%ex{full}%n</Pattern>
52             -->
53         </layout>
54     </appender>
55
56     <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
57         <ImmediateFlush>true</ImmediateFlush>
58         <layout class="ch.qos.logback.classic.PatternLayout">
59             <Pattern>%date{HH:mm:ss.SSS} %level [%logger] %msg%n%ex{full}%n</Pattern>
60         </layout>
61     </appender>
62     
63     <!--
64         Loggers define inidicate which packages/categories are logged, at which level, and to which appender.
65         Levels: ALL, ERROR, WARN, INFO, DEBUG, OFF
66     -->
67
68     <!-- Logs IdP, but not OpenSAML, messages -->
69     <logger name="edu.internet2.middleware.shibboleth">
70         <level value="INFO" />
71         <!-- Appender, IDP_PROCESS, is inherited from the root logger -->
72     </logger>
73
74     <!-- Logs OpenSAML, but not IdP, messages -->
75     <logger name="org.opensaml">
76         <level value="OFF" />
77         <!-- Appender, IDP_PROCESS, is inherited from the root logger -->
78     </logger>
79     
80     
81     
82     
83
84     <!-- Do no edit the loggers below here. -->    
85     <logger name="Shibboleth-Access">
86         <level value="ALL" />
87         <appender-ref ref="IDP_ACCESS" />
88     </logger>
89     
90     <logger name="Shibboleth-Audit">
91         <level value="ALL" />
92         <appender-ref ref="IDP_AUDIT" />
93     </logger>
94
95     <root>
96         <level value="WARN" />
97         <appender-ref ref="IDP_PROCESS" />
98     </root>
99
100 </configuration>