2011-05-05 03:18:13 +00:00
|
|
|
#default levels
|
2011-05-13 01:12:29 +00:00
|
|
|
log4j.rootLogger=debug, console, logfile
|
2013-10-09 13:22:40 +00:00
|
|
|
log4j.logger.com.j256.ormlite=warn
|
2014-08-04 15:21:14 +00:00
|
|
|
log4j.logger.mage.player.ai=warn
|
2014-01-31 14:08:40 +00:00
|
|
|
#log4j.logger.mage.player.ai.ComputerPlayer6=debug
|
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
|
2014-08-04 15:21:14 +00:00
|
|
|
log4j.appender.console.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %-90m =>[%t] %C{1}.%M%n
|
2011-05-15 03:32:22 +00:00
|
|
|
log4j.appender.console.Threshold=info
|
2011-05-05 03:18:13 +00:00
|
|
|
|
|
|
|
#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
|
2014-08-04 15:21:14 +00:00
|
|
|
log4j.appender.logfile.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %-90m =>[%t] %C{1}.%M%n
|