Can TimeBasedRollingPolicy and SizeBasedTriggeringPolicy be used at the same time?
#846
Unanswered
SageJustus
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
@SageJustus Please refer to the documentation at https://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found a logback tutorial with this code:
But when I refer to this code and set
maxFileSizeto100KB, I find that onlyTimeBasedRollingPolicyis working andSizeBasedTriggeringPolicyis not.After that I found a
log4janswer.So, Can
TimeBasedRollingPolicyandSizeBasedTriggeringPolicybe used at the same time?I also asked a question on Stack Overflow
Beta Was this translation helpful? Give feedback.
All reactions