- From: KC Braunschweig <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: How to rotate /var/log/chef/client.log?
- Date: Mon, 23 Jul 2012 19:08:20 -0700
On Mon, Jul 23, 2012 at 6:09 PM, Bryan McLellan
<
>
wrote:
>
On Mon, Jul 23, 2012 at 7:44 PM, Michael Herman
>
<
>
>
wrote:
>
> My only issue with using logrotate, is that if chef-client is mid-run at
>
> the
>
> time logrotate executes, it gets killed.
>
>
It seems like an enhancement to continue a run on TERM would be
>
worthwhile too, probably implemented similarly to how the USR1 signal
>
triggers a run but won't interrupt an existing run.
Agreed. This would also fix the issue that you make a change to a chef
config (/etc/sysconfig/chef-client for example) which needs a restart
of chef-client but calling the restart in mid run kills the run and
the daemon, requiring a manual start to recover.
KC
Archive powered by MHonArc 2.6.16.