2010-12-17 17:17:18 +00:00
|
|
|
#default levels
|
2011-08-22 13:25:31 +00:00
|
|
|
log4j.rootLogger=info, console, logfile
|
2013-05-11 21:06:30 +00:00
|
|
|
#log4j.logger.mage.player.ai=TRACE
|
|
|
|
#log4j.logger.mage.player.ai.ComputerPlayer6=debug
|
|
|
|
#log4j.logger.mage.player.ai.ComputerPlayer7=debug
|
2012-07-18 09:57:54 +00:00
|
|
|
#log4j.logger.mage.player.human=DEBUG, console, logfile
|
|
|
|
#log4j.additivity.mage.player.human=false
|
|
|
|
|
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
|
|
|
|
log4j.appender.console.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %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
|
|
|
|
log4j.appender.logfile.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
|