- From: Joshua Timberman <
>
- To: "<
>" <
>
- Subject: [chef] Re: Log management for the Chef 11 Omnibus installation
- Date: Mon, 25 Feb 2013 18:19:34 +0000
- Accept-language: en-US
Ohai,
On Feb 24, 2013, at 8:06 AM, Joseph Bowman
<
>
wrote:
>
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.
Using the omnibus package, the services in Chef 11 Server are managed by
runit, and they log through svlogd[0].
[0]:
http://smarden.org/runit/svlogd.8.html
--
Joshua Timberman
Technical Community Manager, Opscode, Inc
IRC, Skype, Twitter, Github: jtimberman
Archive powered by MHonArc 2.6.16.