阅读背景:

如何让log4j删除旧的旋转日志文件?

来源:互联网 

How can I get log4j to delete old rotating log files? I know I can set up automated jobs (cron for UNIX and scheduled task for Windows), but I want it cross platform, and I want it in our application's log configuration as a part of our application, rather than in separate code outside in OS specific scripting languages. Our application is not written in OS scripting languages, and I don't want to do this part of it in them.How can I get log4j to delete old rotating log




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: