Added an appender to log into a file.
[java-idp.git] / webApplication / WEB-INF / conf / log4j.properties
1 log4j.rootCategory=DEBUG, dest1, dest2
2 log4j.logger.org.apache.xml.security=OFF
3
4 log4j.appender.dest1=org.apache.log4j.ConsoleAppender
5 log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
6 log4j.appender.dest1.layout.ConversionPattern=%5p [%t] (%c:%L) - %m%n
7
8 log4j.appender.dest2=org.apache.log4j.RollingFileAppender
9 log4j.appender.dest2.File=/var/log/shib.log
10
11 log4j.appender.dest2.MaxFileSize=100KB
12 # Keep one backup file
13 log4j.appender.dest2.MaxBackupIndex=1
14
15 log4j.appender.dest2.layout=org.apache.log4j.PatternLayout
16 log4j.appender.dest2.layout.ConversionPattern=%p %t %c - %m%n
17
18
19 log4j.debug=TRUE
20