Added ant shell script.
[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 # The following block represents an example of how to enable very verbose logging.
19
20 log4j.rootCategory=DEBUG, stdout
21 log4j.logger.org.apache.xml.security=OFF
22 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
23 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
24 log4j.appender.stdout.layout.ConversionPattern=%-5p %-41X{serviceId} %d{ISO8601} (%c:%L) - %m%n
25
26
27 # The following block represents an example of how to direct logging output to a file.
28
29 #log4j.rootCategory=INFO, file
30 #log4j.logger.org.apache.xml.security=OFF
31 #log4j.logger.org.opensaml=OFF
32 #log4j.appender.file=org.apache.log4j.RollingFileAppender
33 #log4j.appender.file.File=/var/log/shib.log
34 #log4j.appender.file.MaxFileSize=100KB
35 #log4j.appender.file.MaxBackupIndex=1
36 #log4j.appender.file.layout=org.apache.log4j.PatternLayout
37 #log4j.appender.file.layout.ConversionPattern=%-5p %-41X{serviceId} %d{ISO8601} - %m%n
38
39
40 # Uncomment the following line to enable verbose debugging output concerning log4j initialization.
41
42 #log4j.debug=TRUE