0
|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
|
3 |
|
|
4 |
<log4j:configuration debug="false" xmlns:log4j="http://jakarta.apache.org/log4j/"> |
|
5 |
<!-- |
|
6 |
This default ConsoleAppender is used to log all NON perf4j messages |
|
7 |
to System.out |
|
8 |
--> |
|
9 |
<appender name="console" class="org.apache.log4j.ConsoleAppender"> |
|
10 |
<layout class="org.apache.log4j.PatternLayout"> |
|
11 |
<param name="ConversionPattern" value="%d %p [%c] - <%m>%n"/> |
|
12 |
</layout> |
|
13 |
</appender> |
|
14 |
|
|
15 |
<appender name="cas" class="org.apache.log4j.RollingFileAppender"> |
|
16 |
<param name="File" value="/var/log/cas/cas.log" /> |
|
17 |
<param name="MaxFileSize" value="512KB" /> |
|
18 |
<param name="MaxBackupIndex" value="3" /> |
|
19 |
<layout class="org.apache.log4j.PatternLayout"> |
|
20 |
<param name="ConversionPattern" value="%d %p [%c] - %m%n"/> |
|
21 |
</layout> |
|
22 |
</appender> |
|
23 |
|
|
24 |
<!-- |
|
25 |
WARNING: Setting the org.springframework logger to DEBUG displays debug information about |
|
26 |
the request parameter values being bound to the command objects. This could expose your |
|
27 |
password in the log file. If you are sharing your log files, it is recommend you selectively |
|
28 |
apply DEBUG level logging on a an org.springframework.* package level (i.e. org.springframework.dao) |
|
29 |
--> |
|
30 |
<logger name="org.springframework"> |
|
31 |
<level value="WARN" /> |
|
32 |
</logger> |
|
33 |
|
|
34 |
<logger name="org.springframework.webflow"> |
|
35 |
<level value="WARN" /> |
|
36 |
</logger> |
|
37 |
|
|
38 |
<logger name="org.jasig" additivity="true"> |
|
39 |
<level value="DEBUG" /> |
|
40 |
<appender-ref ref="cas" /> |
|
41 |
</logger> |
|
42 |
|
|
43 |
<logger name="net.unicon.cas" additivity="true"> |
|
44 |
<level value="DEBUG" /> |
|
45 |
<appender-ref ref="cas" /> |
|
46 |
</logger> |
|
47 |
|
|
48 |
<logger name="com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager"> |
|
49 |
<level value="INFO" /> |
|
50 |
<appender-ref ref="cas" /> |
|
51 |
</logger> |
|
52 |
|
|
53 |
<!-- |
|
54 |
WARNING: Setting the flow package to DEBUG will display |
|
55 |
the parameters posted to the login servlet including |
|
56 |
cleartext authentication credentials |
|
57 |
--> |
|
58 |
<logger name="org.jasig.cas.web.flow" additivity="true"> |
|
59 |
<level value="INFO" /> |
|
60 |
<appender-ref ref="cas" /> |
|
61 |
</logger> |
|
62 |
|
|
63 |
<logger name="org.opensaml"> |
|
64 |
<level value="OFF" /> |
|
65 |
</logger> |
|
66 |
|
|
67 |
<logger name="org.apache.xml"> |
|
68 |
<level value="OFF" /> |
|
69 |
</logger> |
|
70 |
|
|
71 |
<!-- |
|
72 |
The root logger sends all log statements EXCEPT those sent to the perf4j |
|
73 |
logger to System.out. |
|
74 |
--> |
|
75 |
<root> |
|
76 |
<level value="DEBUG" /> |
|
77 |
<appender-ref ref="console" /> |
|
78 |
</root> |
|
79 |
</log4j:configuration> |