Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Loading status checks…
Create native.logger
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# set overall behavior | ||
log4j.rootCategory=INFO, native_log, warn_log | ||
|
||
# fairly verbose for DEBUG, so generally leave at INFO | ||
log4j.category.XMLTooling.XMLObject=INFO | ||
log4j.category.XMLTooling.KeyInfoResolver=INFO | ||
log4j.category.Shibboleth.IPRange=INFO | ||
log4j.category.Shibboleth.PropertySet=INFO | ||
|
||
# raise for low-level tracing of SOAP client HTTP/SSL behavior | ||
log4j.category.XMLTooling.libcurl=INFO | ||
|
||
# useful categories to tune independently: | ||
# | ||
# tracing of SAML messages and security policies | ||
#log4j.category.OpenSAML.MessageDecoder=DEBUG | ||
#log4j.category.OpenSAML.MessageEncoder=DEBUG | ||
#log4j.category.OpenSAML.SecurityPolicyRule=DEBUG | ||
# interprocess message remoting | ||
#log4j.category.Shibboleth.Listener=DEBUG | ||
# mapping of requests to applicationId | ||
#log4j.category.Shibboleth.RequestMapper=DEBUG | ||
# high level session cache operations | ||
#log4j.category.Shibboleth.SessionCache=DEBUG | ||
# persistent storage and caching | ||
#log4j.category.XMLTooling.StorageService=DEBUG | ||
|
||
# define the appender | ||
|
||
log4j.appender.native_log=org.apache.log4j.FileAppender | ||
log4j.appender.native_log.fileName=/tmp/logpipe | ||
log4j.appender.native_log.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.native_log.layout.ConversionPattern=shibd;native.log;${ENV};${USERTOKEN};%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n | ||
|
||
log4j.appender.warn_log=org.apache.log4j.FileAppender | ||
log4j.appender.warn_log.fileName=/tmp/logpipe | ||
log4j.appender.warn_log.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.warn_log.layout.ConversionPattern=shibd;native_warn.log;${ENV};${USERTOKEN};%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n | ||
log4j.appender.warn_log.threshold=WARN |