log4j property

This commit is contained in:
Tienan Chen 2013-10-25 18:58:43 +08:00
parent de91b2ff8e
commit 3ff89e72b0
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
log4j.rootLogger = INFO,WARN,ERROR,FALTAL,D
log4j.appender.D = org.apache.log4j.DailyRollingFileAppender
log4j.appender.D.File = logs/log.log
log4j.appender.D.Append = true
log4j.appender.D.Threshold = INFO
log4j.appender.D.layout = org.apache.log4j.PatternLayout
log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n