mage/Mage.Server/release/config/log4j.properties

14 lines
641 B
Properties
Raw Normal View History

2011-05-05 03:18:13 +00:00
#default levels
log4j.rootLogger=info, console, logfile
log4j.logger.com.j256.ormlite=warn
2011-05-05 03:18:13 +00:00
#console log
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
log4j.appender.console.Threshold=info
#file log
2011-05-12 15:32:28 +00:00
log4j.appender.logfile=org.apache.log4j.FileAppender
log4j.appender.logfile.File=mageserver.log
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n