RollingFileAppender and how rotation is handled #656
Zerrossetto
started this conversation in
General
Replies: 1 comment
-
Hello @Zerrossetto, Please see ch.qos.logback.core.rolling.RollingFileAppender#rollover If compression is needed, it happens asynchronously for time based compression. See ch.qos.logback.core.rolling.TimeBasedRollingPolicy#rollover For FixedWindowRollingPolicy, compression, if requested, happens synchronously. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
we're currently using logback 1.3.5 on several applications in our company, and I have a technical question regarding file rolling.
Is there someplace that describes how RollingFileAppender handles log files rolling? On an high-level perspective it should be enough understanding the order in which file is renamed, stream to the old active file is closed and then re-opened.
A pointer wher to read on this topic would be very much welcomed.
Beta Was this translation helpful? Give feedback.
All reactions