mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Now fatat messages of the Game Worker are logged into separate magediag.log file
This commit is contained in:
parent
e82bc6e671
commit
517f9b6a08
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue