# Set root logger level to INFO and its only appender to A1.
log4j.rootLogger=INFO, Console, File
#, GameConsole, 

# Turn off semi-transitioned debugging
log4j.logger.games.stendhal.client.RPObjectChangeDispatcher$Dump=INFO

# Paste all logger entries with a threshold of INFO to the console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.Threshold=INFO
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%-5p [%t] %-30.40F(%4.6L) %X{context}- %m%n

# This logs to the game console
log4j.appender.GameConsole=games.stendhal.client.GameConsoleAppender
log4j.appender.GameConsole.Threshold=ERROR
log4j.appender.GameConsole.layout=org.apache.log4j.PatternLayout
log4j.appender.GameConsole.layout.ConversionPattern=%-5p [%t] %-30.40F(%4.6L) - %m%n

# Log all INFO and above to the file
log4j.appender.File=org.apache.log4j.RollingFileAppender
log4j.appender.File.MaxFileSize=1MB
log4j.appender.File.Threshold=INFO
log4j.appender.File.MaxBackupIndex=1
log4j.appender.File.File=${log.directory}/stendhal.txt
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] %-30.40F(%4.6L) %X{context}- %m%n
