#default levels
log4j.rootLogger=debug, console, file, watchdog
log4j.logger.com.j256.ormlite=warn

#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.Threshold=info
#log4j.appender.console.Threshold=debug


#file log
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.file=Mage.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
log4j.appender.file.Threshold=INFO

#errors
log4j.appender.watchdog=org.apache.log4j.FileAppender
log4j.appender.watchdog.file=watchdog.log
log4j.appender.watchdog.layout=org.apache.log4j.PatternLayout
log4j.appender.watchdog.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n
log4j.appender.watchdog.Threshold=ERROR