#FileAppender

log4j1修改DailyRollingFileAppender支持日志最大数量

  配置说明:log4j.appender.logfile=org.apache.log4j.MyDailyRollingFileAppenderlog4j.appender.logfile.File=test.loglog4j.appender.logfile.DatePattern='.'yyy...

log4j1 修改FileAppender解决当天的文件没有日期后缀

直接上代码:/**LicensedtotheApacheSoftwareFoundation(ASF)underoneormore*contributorlicenseagreements.SeetheNOTICEfiledistributedwith*thisworkforadditionalinformationr...