log4j.rootLogger=INFO,loggerId
#log4j.rootLogger=INFO,ConsoleAppender,loggerId

log4j.appender.RollingLogFileAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.RollingLogFileAppender.Threshold=INFO
log4j.appender.RollingLogFileAppender.ImmediateFlush=true
log4j.appender.RollingLogFileAppender.File=/var/sagalog/data-platform-v3/data-platform-v3.log
log4j.appender.RollingLogFileAppender.DatePattern='.'yyyy-MM-dd  
log4j.appender.RollingLogFileAppender.Append=true
log4j.appender.RollingLogFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.RollingLogFileAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss.SSS} [%p][%c] %t %m%n
log4j.appender.MAIN_LOG.MaxFileSize=1MB
log4j.appender.MAIN_LOG.MaxBackupIndex=99


log4j.appender.loggerId=org.apache.log4j.RollingFileAppender  
log4j.appender.loggerId.layout=org.apache.log4j.PatternLayout
log4j.appender.loggerId.ImmediateFlush=true 
log4j.appender.loggerId.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss.SSS} [%p][%c] %t %m%n 
log4j.appender.loggerId.File=/var/sagalog/data-platform-v3/data-platform-v3.log
log4j.appender.loggerId.MaxFileSize=300MB  
log4j.appender.loggerId.MaxBackupIndex=10 

log4j.appender.ConsoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.ConsoleAppender.Threshold=INFO
log4j.appender.ConsoleAppender.ImmediateFlush=true
log4j.appender.ConsoleAppender.Target=System.out
log4j.appender.ConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.ConsoleAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss.SSS} [%p][%c] %t %m%n