log4j.rootLogger=ERROR,A1,A2
#log4j.logger.Errlog=ERROR,A1
#log4j.logger.Businesslog=INFO,A2
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A2.file=business.log
log4j.appender.A2.DatePattern='.'yyyy-MM-dd
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}:%p %t %c - %m%n
###################################################################
#log4j.rootCategory=, A1 #show more logs . like log4j.rootLogger
#log4j.appender.A1=org.apache.log4j.lf5.LF5Appender #show GUI
#log4j.appender.A1.MaxNumberOfRecords=1000 #limit less than 1000
###################################################################