You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now Infra Client logs can grow over time and fill up drives if we don't have an external log rotation service setup to handle rotation. It would be very helpful to rotate logs automatically to avoid the need to setup services like logrotate.
The general idea would be a chef-config value to enable/disable log rotation which would default to true. Additional config values to control how the rotation behaves. Size-based rotation is a possibility, but other mechanisms like date-based rotation should be considered.
Acceptance Criteria
Out of the box logs are properly rotated so we don't have to worry about filling disks
This behavior can be disabled by users that want to manage logs on their own
Rotation behavior can be controlled via configs
These configs are exposed in the chef_client_config resource
This configs are documented in the client.rb docs on docs.chef.io
The text was updated successfully, but these errors were encountered:
Right now Infra Client logs can grow over time and fill up drives if we don't have an external log rotation service setup to handle rotation. It would be very helpful to rotate logs automatically to avoid the need to setup services like logrotate.
The general idea would be a chef-config value to enable/disable log rotation which would default to true. Additional config values to control how the rotation behaves. Size-based rotation is a possibility, but other mechanisms like date-based rotation should be considered.
Acceptance Criteria
client.rb
docs on docs.chef.ioThe text was updated successfully, but these errors were encountered: