Re-implemented remaining config options for HS.
[java-idp.git] / src / conf / log4j.properties
1 ##
2 #
3 # Shibboleth Log4J configuration
4 #
5 ##
6
7
8 # Default configuration.  Sends logging output to STDOUT.
9
10 log4j.rootCategory=WARN, stdout
11 log4j.logger.org.apache.xml.security=OFF
12 log4j.logger.org.opensaml=OFF
13 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
14 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15 log4j.appender.stdout.layout.ConversionPattern=%-5p %-41X{serviceId} %d{ISO8601} - %m%n
16
17
18 # Security transactions can be logged to a separate log as well
19
20 # log4j.logger.edu.internet2.middleware.shibboleth.TRANSACTION=INFO, transaction
21 log4j.logger.edu.internet2.middleware.shibboleth.TRANSACTION=OFF
22 log4j.appender.transaction=org.apache.log4j.RollingFileAppender
23 log4j.appender.transaction.File=/tmp/shibboleth-origin.log
24 log4j.appender.transaction.layout=org.apache.log4j.PatternLayout
25 log4j.appender.transaction.layout.ConversionPattern=%d{ISO8601} %m%n
26
27 # The following block represents an example of how to enable very verbose logging.
28
29 #log4j.rootCategory=DEBUG, stdout
30 #log4j.logger.org.apache.xml.security=OFF
31 #log4j.appender.stdout=org.apache.log4j.ConsoleAppender
32 #log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
33 #log4j.appender.stdout.layout.ConversionPattern=%-5p %-41X{serviceId} %d{ISO8601} (%c:%L) - %m%n
34
35
36 # The following block represents an example of how to direct logging output to a file.
37
38 #log4j.rootCategory=INFO, file
39 #log4j.logger.org.apache.xml.security=OFF
40 #log4j.logger.org.opensaml=OFF
41 #log4j.appender.file=org.apache.log4j.RollingFileAppender
42 #log4j.appender.file.File=/var/log/shib.log
43 #log4j.appender.file.MaxFileSize=100KB
44 #log4j.appender.file.MaxBackupIndex=1
45 #log4j.appender.file.layout=org.apache.log4j.PatternLayout
46 #log4j.appender.file.layout.ConversionPattern=%-5p %-41X{serviceId} %d{ISO8601} - %m%n
47
48
49 # Uncomment the following line to enable verbose debugging output concerning log4j initialization.
50
51 #log4j.debug=TRUE