-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add the ability to define logging #172
Conversation
|
Is there anything else needed here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a quick read through. I need some time to properly review this. I'm mostly interested in the new file and how that would impact the various distros and permissions. Some acceptance tests would help with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that test. I'll take a closer look later but just a small tip to optimize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My main concern is adding additional files, especially if they're unused by default.
One way to reduce that is to add a class dns::logging that adds the logging include to the main config and creates $logdir. Then you can require dns::logging in dns::logging::category and dns::logging::channel.
Other than that it looks good. Some more small coding style suggestions inline.
|
@ekohl I refactored this to append to |
* Update README including fixing bare links * Add spec and acceptance tests as needed
|
@ekohl I think this should be all set now. Let me know if there is anything else you would want updated before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was no way in the current settings to configure a log directory or an advanced logging configuration using channels and categories. This change adds the necessary configuration options and template changes to create a full-featured logging configuration. README and spec changes have been completed to document and test the change.