Skip to content

More flexible file logging channel options#270

Open
benjamin-robertson wants to merge 3 commits intotheforeman:masterfrom
benjamin-robertson:master
Open

More flexible file logging channel options#270
benjamin-robertson wants to merge 3 commits intotheforeman:masterfrom
benjamin-robertson:master

Conversation

@benjamin-robertson
Copy link
Copy Markdown
Contributor

Fixes GH-269

I've made the decision not to allow users to specify a file_versions without a size. This configuration which will have no affect as the file will not rotate until it hits the file_size which by default is unlimited.

Unit tests passing.

Fixes #269

@ekohl ekohl changed the title Fixes GH-269 More flexible file logging channel options Nov 27, 2024
Copy link
Copy Markdown
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a while to figure out exactly what it was doing, so I've modified the PR title to better cover it. Please modify it if you disagree.

Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
@benjamin-robertson
Copy link
Copy Markdown
Contributor Author

Thanks for the review. The new title works for me and is a better description. I've accepted your suggestions and re-run the tests.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File logging channel enforces compulsory version and size

2 participants