Cookbook version
4.0.0
Chef-client version
12.x
Platform Details
Ubuntu 14.04
Scenario:
Tried to use cookbook, ended up with full disk
Steps to Reproduce:
Use cookbook. Observe lack of rotation policy for added cookbooks.
Expected Result:
rsyslog should add rotation policy for any logs it adds
Actual Result:
Used cookbook with defaults. It adds, among others, boot.log, but doesn't add a rotation policy for the log file. In our case, due to a misbehaving app (or mis-logging app) boot.log grew to over 13G, and along with other log files, filled the disk. I confirmed that boot.log is not in the Ubuntu rsyslog package, so it is being added by this cookbook. The rsyslog package does define rotation policy for any logs that are in its default config.
Cookbook version
4.0.0
Chef-client version
12.x
Platform Details
Ubuntu 14.04
Scenario:
Tried to use cookbook, ended up with full disk
Steps to Reproduce:
Use cookbook. Observe lack of rotation policy for added cookbooks.
Expected Result:
rsyslog should add rotation policy for any logs it adds
Actual Result:
Used cookbook with defaults. It adds, among others, boot.log, but doesn't add a rotation policy for the log file. In our case, due to a misbehaving app (or mis-logging app) boot.log grew to over 13G, and along with other log files, filled the disk. I confirmed that boot.log is not in the Ubuntu rsyslog package, so it is being added by this cookbook. The rsyslog package does define rotation policy for any logs that are in its default config.