Now fatat messages of the Game Worker are logged into separate magediag.log file

This commit is contained in:
magenoxx 2014-04-30 16:42:59 +05:30
parent e82bc6e671
commit 517f9b6a08

View file

@ -19,3 +19,11 @@ 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
#diagnostic log for game core classes
log4j.category.mage.server.game = INFO, diagfile
log4j.additivity.mage.server.game = 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