Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible file logging channel options #270

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

benjamin-robertson
Copy link
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
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.

templates/log.channel.conf.erb Outdated Show resolved Hide resolved
templates/log.channel.conf.erb Outdated Show resolved Hide resolved
spec/defines/dns_logging_channel_spec.rb Show resolved Hide resolved
spec/defines/dns_logging_channel_spec.rb Show resolved Hide resolved
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
@benjamin-robertson
Copy link
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