# Priority: DEBUG,INFO,WARN,ERROR,FATAL
# OUTPUT:   CONSOLE,LOGFILE
# The root category uses the appenders called A1 and A2. And the
# priority is set to DEBUG
log4j.rootLogger = DEBUG, A1, A2

# Configure the individual component logging like this:
#log4j.logger.com.askey.ems.ipdslam = DEBUG, A1, A2


# A1 is set to be ConsoleAppender sending its output to System.out
log4j.appender.A1=org.apache.log4j.ConsoleAppender

# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout

# use a simpler output format
log4j.appender.A1.layout.ConversionPattern=%-5r %-5p [%t] %c{2} - %m%n




# Appender A2 writes to the file "./logs/com.askey.ems.ipdslam.log.html".
log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.File = ./logs/com.askey.ems.ipdslam.log.html
log4j.appender.A2.MaxFileSize = 500KB
log4j.appender.A2.MaxBackupIndex=1
log4j.appender.A2.layout=org.apache.log4j.HTMLLayout
#log4j.appender.A2.layout=org.apache.log4j.PatternLayout
#log4j.appender.A2.layout.ConversionPattern=%-5r %-5p [%t] %c{2} - %m%n

# Truncate 'test' if it aleady exists.
#log4j.appender.A2.Append=true




