2010-12-17 17:17:18 +00:00
|
|
|
#default levels
|
2011-08-22 13:25:31 +00:00
|
|
|
log4j.rootLogger=info, console, logfile
|
2013-10-09 13:22:40 +00:00
|
|
|
log4j.logger.com.j256.ormlite=warn
|
2013-05-11 21:06:30 +00:00
|
|
|
#log4j.logger.mage.player.ai=TRACE
|
2014-08-04 15:21:14 +00:00
|
|
|
log4j.logger.mage.player.ai=warn
|
2013-05-11 21:06:30 +00:00
|
|
|
#log4j.logger.mage.player.ai.ComputerPlayer6=debug
|
|
|
|
#log4j.logger.mage.player.ai.ComputerPlayer7=debug
|
2013-12-31 16:29:00 +00:00
|
|
|
#log4j.logger.mage.player.ai.GameStateEvaluator2=debug
|
2012-07-18 09:57:54 +00:00
|
|
|
#log4j.logger.mage.player.human=DEBUG, console, logfile
|
|
|
|
#log4j.additivity.mage.player.human=false
|
2014-08-04 15:21:14 +00:00
|
|
|
log4j.logger.mage.server=debug
|
2012-07-18 09:57:54 +00:00
|
|
|
|
2010-12-17 17:17:18 +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]}] %C{1}[%t]: %m%n
|
|
|
|
log4j.appender.console.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %-90m =>[%t] %C{1}.%M%n
|
2011-08-22 10:57:03 +00:00
|
|
|
log4j.appender.console.Threshold=DEBUG
|
|
|
|
|
|
|
|
#file log
|
|
|
|
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
|
2014-04-30 11:12:59 +00:00
|
|
|
|
|
|
|
#diagnostic log for game core classes
|
|
|
|
log4j.category.mage.server.game = INFO, diagfile
|
2014-05-03 08:42:31 +00:00
|
|
|
log4j.category.mage.server.tournament = INFO, diagfile
|
2014-04-30 11:12:59 +00:00
|
|
|
log4j.additivity.mage.server.game = false
|
2014-05-03 08:42:31 +00:00
|
|
|
log4j.additivity.mage.server.tournament = false
|
2014-04-30 11:12:59 +00:00
|
|
|
log4j.appender.diagfile=org.apache.log4j.FileAppender
|
|
|
|
log4j.appender.diagfile.File=magediag.log
|
|
|
|
log4j.appender.diagfile.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.diagfile.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
|