Updated config as appropriate for a default. Should work in any environment.
[java-idp.git] / webApplication / WEB-INF / conf / log4j.properties
1 # Default Log4J configuration.  Sends logging output to STDOUT.
2
3 log4j.rootCategory=WARN, stdout
4 log4j.logger.org.apache.xml.security=OFF
5
6 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
7 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
8 log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%c:%L) - %m%n
9
10
11 # Uncomment the following line to enable verbose debugging output concerning log4j initialization.
12 #log4j.debug=TRUE
13
14
15 # The following block represents an example of how to direct logging output to a file.
16 #log4j.rootCategory=DEBUG, file
17 #log4j.logger.org.apache.xml.security=OFF
18 #log4j.appender.file=org.apache.log4j.RollingFileAppender
19 #log4j.appender.file.File=/var/log/shib.log
20 #log4j.appender.file.MaxFileSize=100KB
21 #log4j.appender.file.MaxBackupIndex=1
22 #log4j.appender.file.layout=org.apache.log4j.PatternLayout
23 #log4j.appender.file.layout.ConversionPattern=%5p [%t] (%c:%L) - %m%n