[chef] Log management for the Chef 11 Omnibus installation


Chronological Thread 
  • From: Joseph Bowman < >
  • To:
  • Subject: [chef] Log management for the Chef 11 Omnibus installation
  • Date: Sun, 24 Feb 2013 10:06:15 -0500

Hello,

I've just set up a Chef 11 server on Redhat ES6 Server using the Omnibus installation method. I did it by downloading the rpm and using that to do the install.

Is there a good guide for setting up logrotate or something similar I can use to rotate logs and ship them to our central logging server? For example the access.log for nginx doesn't appear to be set up to rotate at all. We're an apache shop and have used httplog for years to get apache to write it's files in a dated format so we could move them off without ever having to stop apache. 

I'm also not familiar with some of the other components of chef to know what and how I should rotate it. For example /var/log/chef-server/chef-solr already has 2MB of logs in it. We're running chef on a VM with a 4GB /var partition. 



Archive powered by MHonArc 2.6.16.

§