log4j.rootLogger = debug,stdout,logfile,errorLog

log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout.ConversionPattern = %d %p [%l] [%t] - <%m>%n
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout

#----------------------debug---------------------

log4j.appender.logfile = org.apache.log4j.RollingFileAppender
log4j.appender.logfile.MaxFileSize = 50MB
log4j.appender.logfile.MaxBackupIndex = 10

log4j.appender.logfile.File = ../dc_logs/datacontroller.log
log4j.appender.logfile.layout.ConversionPattern = %d %p [%l] [%t] - <%m>%n
log4j.appender.logfile.layout = org.apache.log4j.PatternLayout

#----------------------error---------------------
log4j.logger.errorLog = warn,errorLog
log4j.appender.errorLog = org.apache.log4j.RollingFileAppender
log4j.appender.errorLog.MaxFileSize = 50MB
log4j.appender.errorLog.Append = true
log4j.appender.errorLog.Threshold = warn
log4j.appender.errorLog.MaxBackupIndex = 10
log4j.appender.errorLog.File = ../dc_logs/error.log
log4j.appender.errorLog.layout.ConversionPattern = %d %p [%l] [%t] - <%m>%n
log4j.appender.errorLog.layout = org.apache.log4j.PatternLayout


