Skip to content

update byte count for FileAppender in prudent mode - #912

Open
sarveshrulz wants to merge 1 commit into
qos-ch:masterfrom
sarveshrulz:master
Open

update byte count for FileAppender in prudent mode#912
sarveshrulz wants to merge 1 commit into
qos-ch:masterfrom
sarveshrulz:master

Conversation

@sarveshrulz

Copy link
Copy Markdown

As this method is overridden in RollingFileAppender but was not getting called, without this the size based rolling policies don't work as lengthCounter is never updated

Signed-off-by: sarveshrulz <sarveshkardekar@gmail.com>
@vogella

vogella commented Jun 19, 2025

Copy link
Copy Markdown

We see overlapping log entries in our log even though we use prudent mode. I assume the missing update of the byte count might be the reason for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants