java – log4j RollingFileAppender与DailyRollingFileAppender之间有什么区别?

前端之家收集整理的这篇文章主要介绍了java – log4j RollingFileAppender与DailyRollingFileAppender之间有什么区别?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
log4j RollingFileAppender与DailyRollingFileAppender有什么区别?
为什么我会用另一首经文呢?

解决方法

阅读 http://www.mail-archive.com/log4j-user@logging.apache.org/msg08183.html
  • DailyRollingFileAppender – Rotates based on dateFormat
  • RollingFileAppender – Rotates based on a maximum file size.

还要检查:

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html

@L_502_2@

猜你在找的Java相关文章