Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Newer
Older
100644 63 lines (53 sloc) 2.7 KB
1
# set overall behavior
2
log4j.rootCategory=INFO, shibd_log, warn_log
3
4
# fairly verbose for DEBUG, so generally leave at INFO
5
log4j.category.XMLTooling.XMLObject=INFO
6
log4j.category.XMLTooling.KeyInfoResolver=INFO
7
log4j.category.Shibboleth.IPRange=INFO
8
log4j.category.Shibboleth.PropertySet=INFO
9
10
# raise for low-level tracing of SOAP client HTTP/SSL behavior
11
log4j.category.XMLTooling.libcurl=INFO
12
13
# useful categories to tune independently:
14
#
15
# tracing of SAML messages and security policies
16
#log4j.category.OpenSAML.MessageDecoder=DEBUG
17
#log4j.category.OpenSAML.MessageEncoder=DEBUG
18
#log4j.category.OpenSAML.SecurityPolicyRule=DEBUG
19
#log4j.category.XMLTooling.SOAPClient=DEBUG
20
# interprocess message remoting
21
#log4j.category.Shibboleth.Listener=DEBUG
22
# mapping of requests to applicationId
23
#log4j.category.Shibboleth.RequestMapper=DEBUG
24
# high level session cache operations
25
#log4j.category.Shibboleth.SessionCache=DEBUG
26
# persistent storage and caching
27
#log4j.category.XMLTooling.StorageService=DEBUG
28
29
# logs XML being signed or verified if set to DEBUG
30
log4j.category.XMLTooling.Signature.Debugger=INFO, sig_log
31
log4j.additivity.XMLTooling.Signature.Debugger=false
32
33
# the tran log blocks the "default" appender(s) at runtime
34
# Level should be left at INFO for this category
35
log4j.category.Shibboleth-TRANSACTION=INFO, tran_log
36
log4j.additivity.Shibboleth-TRANSACTION=false
37
# uncomment to suppress particular event types
38
#log4j.category.Shibboleth-TRANSACTION.AuthnRequest=WARN
39
#log4j.category.Shibboleth-TRANSACTION.Login=WARN
40
#log4j.category.Shibboleth-TRANSACTION.Logout=WARN
41
42
# define the appenders
43
44
log4j.appender.shibd_log=org.apache.log4j.FileAppender
45
log4j.appender.shibd_log.fileName=/tmp/logpipe
46
log4j.appender.shibd_log.layout=org.apache.log4j.PatternLayout
47
log4j.appender.shibd_log.layout.ConversionPattern=shibd;shibd.log;${ENV};${USERTOKEN};%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n
48
49
log4j.appender.warn_log=org.apache.log4j.FileAppender
50
log4j.appender.warn_log.fileName=/tmp/logpipe
51
log4j.appender.warn_log.layout=org.apache.log4j.PatternLayout
52
log4j.appender.warn_log.layout.ConversionPattern=shibd;shibd_warn.log;${ENV};${USERTOKEN};%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n
53
log4j.appender.warn_log.threshold=WARN
54
55
log4j.appender.tran_log=org.apache.log4j.FileAppender
56
log4j.appender.tran_log.fileName=/tmp/logpipe
57
log4j.appender.tran_log.layout=org.apache.log4j.PatternLayout
58
log4j.appender.tran_log.layout.ConversionPattern=shibd;transaction.log;${ENV};${USERTOKEN};%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n
59
60
log4j.appender.sig_log=org.apache.log4j.FileAppender
61
log4j.appender.sig_log.fileName=/tmp/logpipe
62
log4j.appender.sig_log.layout=org.apache.log4j.PatternLayout
63
log4j.appender.sig_log.layout.ConversionPattern=shibd;signature.log${ENV};${USERTOKEN};%m
You can’t perform that action at this time.