mirror of
https://github.com/correl/mage.git
synced 2024-12-01 19:19:55 +00:00
34 lines
1.6 KiB
Properties
34 lines
1.6 KiB
Properties
#default levels
|
|
log4j.rootLogger=info, console, logfile
|
|
log4j.logger.com.j256.ormlite=warn
|
|
#log4j.logger.mage.player.ai=TRACE
|
|
log4j.logger.mage.player.ai=warn
|
|
#log4j.logger.mage.player.ai.ComputerPlayer6=debug
|
|
#log4j.logger.mage.player.ai.ComputerPlayer7=debug
|
|
#log4j.logger.mage.player.ai.GameStateEvaluator2=debug
|
|
#log4j.logger.mage.player.human=DEBUG, console, logfile
|
|
#log4j.additivity.mage.player.human=false
|
|
log4j.logger.mage.server=debug
|
|
|
|
#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.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %-90m =>[%t] %C{1}.%M%n
|
|
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} %-90m =>[%t] %C{1}.%M%n
|
|
|
|
#diagnostic log for game core classes
|
|
log4j.category.mage.server.game = INFO, diagfile
|
|
log4j.category.mage.server.tournament = INFO, diagfile
|
|
log4j.additivity.mage.server.game = false
|
|
log4j.additivity.mage.server.tournament = false
|
|
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
|