[chef] Re: Re: Why is chef-server logrotate configuration included for Red Hat but not for Debian?


Chronological Thread 
  • From: Elvin Abordo < >
  • To: " " < >
  • Subject: [chef] Re: Re: Why is chef-server logrotate configuration included for Red Hat but not for Debian?
  • Date: Wed, 5 Feb 2014 11:44:29 -0500

+1 i'm actually doing that right now. 


On Wed, Feb 5, 2014 at 3:37 AM, Steven De Coeyer < " target="_blank"> > wrote:
> chef-server just logs to syslog I think, what you do with syslog is up to you :-)


That’s not entirely true, with nginx and postgres and whatnot bundled with the chef server, it will also log to places like /var/log/chef-server/erchef or /var/log/chef-server/nginx. Our /var/log/chef-server/nginx/acces.log was taking up several gigabytes before manually setting a logrotate config.

Kr,
S


On 05 Feb 2014, at 00:47, Noah Kantrowitz < "> > wrote:

> chef-server just logs to syslog I think, what you do with syslog is up to you :-)
>
> --Noah
>
> On Feb 4, 2014, at 3:45 PM, Phil Mocek < "> > wrote:
>
>> Noah Kantrowitz wrote:
>>> I don't think [the omnibus-chef-server project, from chef-server
>>> packages are built nowadays] includes log rotation stuff beyond
>>> the OS defaults at all
>>
>> I don't see any logrotate configuration [there][1], either.  That's
>> unfortunate.  Various Web searches didn't turn up any discussion of this
>> for me.
>>
>>
>> References:
>>
>> [1]: <https://github.com/opscode/omnibus-chef-server>
>>
>> --
>> Phil Mocek
>> http://mocek.org
>




--
Elvin Abordo
Mobile: (845) 475-8744



Archive powered by MHonArc 2.6.16.

§