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
maxFileSize
to100KB
, I find that onlyTimeBasedRollingPolicy
is working andSizeBasedTriggeringPolicy
is not.After that I found a
log4j
answer.So, Can
TimeBasedRollingPolicy
andSizeBasedTriggeringPolicy
be used at the same time?I also asked a question on Stack Overflow
Beta Was this translation helpful? Give feedback.
All reactions