# Log management for the Chef 11 Omnibus installation

**URL:** https://discourse.chef.io/t/log-management-for-the-chef-11-omnibus-installation/3665
**Category:** Chef Infra (archive)
**Created:** [February 24, 2013, 3:06pm UTC](https://discourse.chef.io/t/log-management-for-the-chef-11-omnibus-installation/3665 "2013-02-24T15:06:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Joseph\_Bowman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joseph_bowman/32/290_2.png) [@Joseph\_Bowman](https://discourse.chef.io/u/Joseph_Bowman)
#### Post date: [February 24, 2013, 3:06pm UTC](https://discourse.chef.io/t/log-management-for-the-chef-11-omnibus-installation/3665/1 "2013-02-24T15:06:15Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Joshua\_Timberman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joshua_timberman/32/424_2.png) [@Joshua\_Timberman](https://discourse.chef.io/u/Joshua_Timberman)
#### Post date: [February 25, 2013, 6:19pm UTC](https://discourse.chef.io/t/log-management-for-the-chef-11-omnibus-installation/3665/2 "2013-02-25T18:19:34Z")

</div>

Ohai,

On Feb 24, 2013, at 8:06 AM, Joseph Bowman [bowman.joseph@gmail.com](mailto:bowman.joseph@gmail.com) 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](http://smarden.org/runit/svlogd.8.html).

--  
Joshua Timberman  
Technical Community Manager, Opscode, Inc  
IRC, Skype, Twitter, Github: jtimberman

---

<div class="post-metadata">

### Author: ![Joseph\_Bowman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joseph_bowman/32/290_2.png) [@Joseph\_Bowman](https://discourse.chef.io/u/Joseph_Bowman)
#### Post date: [February 25, 2013, 6:21pm UTC](https://discourse.chef.io/t/log-management-for-the-chef-11-omnibus-installation/3665/3 "2013-02-25T18:21:27Z")

</div>

Thanks for the pointer

On Mon, Feb 25, 2013 at 1:19 PM, Joshua Timberman [joshua@opscode.com](mailto:joshua@opscode.com)wrote:

> Ohai,
> 
> On Feb 24, 2013, at 8:06 AM, Joseph Bowman [bowman.joseph@gmail.com](mailto:bowman.joseph@gmail.com)  
> 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](http://smarden.org/runit/svlogd.8.html).
> 
> --  
> Joshua Timberman  
> Technical Community Manager, Opscode, Inc  
> IRC, Skype, Twitter, Github: jtimberman
