Logback, set max history files per day

前端 未结 1 1171
耶瑟儿~
耶瑟儿~ 2020-12-19 02:22

I use TimeBasedRollingPolicy and SizeAndTimeBasedFNATP triggering policy for my logback configuration. The rollover of log files is set to happen e

相关标签:
1条回答
  • 2020-12-19 02:57

    With SizeAndTimeBasedFNATP and MaxHistory set to 10, the logs older than 10 days will be removed (assuming daily rollover schedule). Size is not factored in the into removal logic.

    0 讨论(0)
提交回复
热议问题