| 1 | # set overall behavior |
|---|
| 2 | log4j.rootCategory=INFO, shibd_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.PropertySet=INFO |
|---|
| 8 | |
|---|
| 9 | # raise for low-level tracing of SOAP client HTTP/SSL behavior |
|---|
| 10 | log4j.category.XMLTooling.libcurl=INFO |
|---|
| 11 | |
|---|
| 12 | # useful categories to tune independently: |
|---|
| 13 | # |
|---|
| 14 | # tracing of SAML messages and security policies |
|---|
| 15 | #log4j.category.OpenSAML.MessageDecoder=DEBUG |
|---|
| 16 | #log4j.category.OpenSAML.MessageEncoder=DEBUG |
|---|
| 17 | #log4j.category.OpenSAML.SecurityPolicyRule=DEBUG |
|---|
| 18 | # interprocess message remoting |
|---|
| 19 | #log4j.category.Shibboleth.Listener=DEBUG |
|---|
| 20 | # mapping of requests to applicationId |
|---|
| 21 | #log4j.category.Shibboleth.RequestMapper=DEBUG |
|---|
| 22 | # high level session cache operations |
|---|
| 23 | #log4j.category.Shibboleth.SessionCache=DEBUG |
|---|
| 24 | # persistent storage and caching |
|---|
| 25 | #log4j.category.XMLTooling.StorageService=DEBUG |
|---|
| 26 | |
|---|
| 27 | # the tran log blocks the "default" appender(s) at runtime |
|---|
| 28 | # Level should be left at INFO for this category |
|---|
| 29 | log4j.category.Shibboleth-TRANSACTION=INFO, tran_log |
|---|
| 30 | log4j.additivity.Shibboleth-TRANSACTION=false |
|---|
| 31 | |
|---|
| 32 | # define the appenders |
|---|
| 33 | |
|---|
| 34 | log4j.appender.shibd_log=org.apache.log4j.RollingFileAppender |
|---|
| 35 | log4j.appender.shibd_log.fileName=/var/log/shibboleth/shibd.log |
|---|
| 36 | log4j.appender.shibd_log.maxFileSize=1000000 |
|---|
| 37 | log4j.appender.shibd_log.maxBackupIndex=10 |
|---|
| 38 | #log4j.appender.shibd_log.layout=org.apache.log4j.BasicLayout |
|---|
| 39 | log4j.appender.shibd_log.layout=org.apache.log4j.PatternLayout |
|---|
| 40 | log4j.appender.shibd_log.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n |
|---|
| 41 | |
|---|
| 42 | log4j.appender.tran_log=org.apache.log4j.RollingFileAppender |
|---|
| 43 | log4j.appender.tran_log.fileName=/var/log/shibboleth/transaction.log |
|---|
| 44 | log4j.appender.tran_log.maxFileSize=1000000 |
|---|
| 45 | log4j.appender.tran_log.maxBackupIndex=20 |
|---|
| 46 | log4j.appender.tran_log.layout=org.apache.log4j.PatternLayout |
|---|
| 47 | log4j.appender.tran_log.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n |
|---|