2010-11-03 17:33:51 +00:00
|
|
|
#default levels
|
2011-08-21 19:20:30 +00:00
|
|
|
log4j.rootLogger=info, console, logfile
|
2010-11-03 17:33:51 +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-21 19:20:30 +00:00
|
|
|
log4j.appender.console.Threshold=info
|
|
|
|
|
|
|
|
#file log
|
|
|
|
log4j.appender.logfile=org.apache.log4j.FileAppender
|
|
|
|
log4j.appender.logfile.File=mageclient.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
|