无法使用DailyRollingAppendar生成日志

时间:2015-12-10 07:32:12

标签: java tomcat logging log4j rollingfileappender

已经配置了

log4j1.2.16每分钟的日志。但是只有app.log生成但是在一分钟之后没有进一步生成1.2.17代。与log4j.rootLogger=DEBUG, RollingAppender, stdout # LOGFILE is set to be a DailyRollingFileAppender appender log4j.appender.RollingAppender=org.apache.log4j.DailyRollingFileAppender log4j.appender.RollingAppender.File=/Users/mine/Documents/Softwares/Tomcat/apache-tomcat-8.0.26/logs/app.log log4j.appender.RollingAppender.DatePattern='.'yyyy-MM-dd-HH-mm log4j.appender.RollingAppender.layout=org.apache.log4j.PatternLayout log4j.appender.RollingAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %-5p %C::%M()::%L - %m%n & select * from test.check where row_timestamp = '1970-01-01 00:00:00'; ,PLease帮助我完成其他工作

select * from test.check where row_timestamp = '1970-01-01 00:00:00+0000';

0 个答案:

没有答案