Skip to content

Bug fix. Change Serilog file logger configuration to one that correctly rolls log files based on size. - #481

Merged
Bryan DeYoung (brdeyo) merged 1 commit into
mainfrom
brdeyo/rolling-log-fix
Apr 4, 2025
Merged

Bryan DeYoung (brdeyo) merged 1 commit into
mainfrom
brdeyo/rolling-log-fix

Conversation

@brdeyo

Copy link
Copy Markdown
Collaborator

The Serilog WriteTo().RollingFile implementation does not correctly roll files at the max size threshold. It instead stops writing to the file at all. This addresses the issue by using the WriteTo().File implementation that works as intended.

@brdeyo
Bryan DeYoung (brdeyo) merged commit 3e202bf into main Apr 4, 2025
@brdeyo
Bryan DeYoung (brdeyo) deleted the brdeyo/rolling-log-fix branch April 4, 2025 15:47
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