log4j.rootLogger=debug,stdout,FILE
log4j.logger.com.xxx=DEBUG
#log4j.logger.org.mybatis.spring=DEBUG
#log4j.logger.org.apache.ibatis=DEBUG
#log4j.logger.org.springframework=DEBUG
#log4j.logger.java.sql.ResultSet=DEBUG
#log4j.logger.java.sql.Connection=DEBUG
#log4j.logger.java.sql.Statement=DEBUG
#log4j.logger.java.sql.PreparedStatement=DEBUG
#standard output
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Encoding=UTF-8
log4j.appender.stdout.Threshold=DEBUG
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
#file output
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.Encoding=UTF-8
log4j.appender.FILE.Threshold=DEBUG
#tomcat ../logs/cpi_report.log
#weblogic log/cpi_report.log
log4j.appender.FILE.File=logs/community-imp.log
log4j.appender.FILE.Append=true
log4j.appender.FILE.MaxFileSize=10MB
log4j.appender.FILE.MaxBackupIndex=10
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n