123456789101112131415161718192021222324252627 |
- log4j.rootLogger=INFO,ConsoleAppender,RollingLogFileAppender
- log4j.appender.RollingLogFileAppender=org.apache.log4j.DailyRollingFileAppender
- log4j.appender.RollingLogFileAppender.Threshold=INFO
- log4j.appender.RollingLogFileAppender.ImmediateFlush=true
- log4j.appender.RollingLogFileAppender.File=log.log
- log4j.appender.RollingLogFileAppender.DatePattern=yyyy-MM-dd'.log'
- 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} %t %m%n
- 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} %t %m%n
- log4j.logger.data_energydata_15minLogger= INFO, data_energydata_15min
- log4j.appender.data_energydata_15min=org.apache.log4j.DailyRollingFileAppender
- log4j.appender.data_energydata_15min.Threshold=INFO
- log4j.appender.data_energydata_15min.ImmediateFlush=true
- log4j.appender.data_energydata_15min.File=data_energydata_15min.log
- log4j.appender.data_energydata_15min.DatePattern=yyyy-MM-dd HH'.log'
- log4j.appender.data_energydata_15min.Append=true
- log4j.appender.data_energydata_15min.layout=org.apache.log4j.PatternLayout
- log4j.appender.data_energydata_15min.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %m%n
|