log4j.rootLogger=INFO,CONSOLE
log4j.addivity.org.apache=true
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n
# for Console
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=WARN
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p [%d][%M] %m%n
#log4j.appender.CONSOLE.layout.ConversionPattern=[start]%d{DATE}[DATE]%n%p[PRIORITY]%n%x[NDC]%n%t[THREAD] n%c[CATEGORY]%n%m[MESSAGE]%n%n
log4j.appender.cmd=org.apache.log4j.RollingFileAppender
log4j.appender.cmd.File=log/cmd.log
log4j.appender.cmd.MaxFileSize=100MB
log4j.appender.cmd.MaxBackupIndex=3
log4j.appender.cmd.layout=org.apache.log4j.PatternLayout
log4j.appender.cmd.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.websurvey=org.apache.log4j.RollingFileAppender
log4j.appender.websurvey.File=log/websurvey.log
log4j.appender.websurvey.MaxFileSize=100MB
log4j.appender.websurvey.MaxBackupIndex=3
log4j.appender.websurvey.layout=org.apache.log4j.PatternLayout
log4j.appender.websurvey.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.common=org.apache.log4j.RollingFileAppender
log4j.appender.common.File=log/common.log
log4j.appender.common.MaxFileSize=100MB
log4j.appender.common.MaxBackupIndex=3
log4j.appender.common.layout=org.apache.log4j.PatternLayout
log4j.appender.common.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.report=org.apache.log4j.RollingFileAppender
log4j.appender.report.File=log/report.log
log4j.appender.report.MaxFileSize=100MB
log4j.appender.report.MaxBackupIndex=3
log4j.appender.report.layout=org.apache.log4j.PatternLayout
log4j.appender.report.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.siteValidate=org.apache.log4j.RollingFileAppender
log4j.appender.siteValidate.File=log/siteValidate.log
log4j.appender.siteValidate.MaxFileSize=100MB
log4j.appender.siteValidate.MaxBackupIndex=3
log4j.appender.siteValidate.layout=org.apache.log4j.PatternLayout
log4j.appender.siteValidate.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.linkValidate=org.apache.log4j.RollingFileAppender
log4j.appender.linkValidate.File=log/linkValidate.log
log4j.appender.linkValidate.MaxFileSize=100MB
log4j.appender.linkValidate.MaxBackupIndex=3
log4j.appender.linkValidate.layout=org.apache.log4j.PatternLayout
log4j.appender.linkValidate.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.similarity=org.apache.log4j.RollingFileAppender
log4j.appender.similarity.File=log/similarity.log
log4j.appender.similarity.MaxFileSize=100MB
log4j.appender.similarity.MaxBackupIndex=3
log4j.appender.similarity.layout=org.apache.log4j.PatternLayout
log4j.appender.similarity.layout.ConversionPattern=%-5p [%d][%M] %m%n
log4j.appender.filter=org.apache.log4j.RollingFileAppender
log4j.appender.filter.File=log/filter.log
log4j.appender.filter.MaxFileSize=100MB
log4j.appender.filter.MaxBackupIndex=3
log4j.appender.filter.layout=org.apache.log4j.PatternLayout
log4j.appender.filter.layout.ConversionPattern=%-5p [%d][%M] %m%n
#=======================
log4j.logger.com.dbapp.stormnode.utils.CommandUtil=INFO,cmd
log4j.logger.com.dbapp.stormnode.schedule.WebSurveySchedule=INFO,websurvey
log4j.logger.com.dbapp.stormnode.core.InitListener=INFO,common
log4j.logger.com.dbapp.stormnode.schedule.TaskSchedule=INFO,report
log4j.logger.com.dbapp.stormnode.bean.SiteBean=INFO,siteValidate
log4j.logger.com.dbapp.stormnode.bean.LinkBean=INFO,linkValidate
log4j.logger.com.dbapp.stormnode.bean.Website=INFO,similarity
log4j.logger.com.dbapp.stormnode.filter.FilterChain=INFO,filter