logrotate configuration seems wrong
Stuart Bishop
stuart.bishop at canonical.com
Mon Sep 15 08:13:24 UTC 2014
On 15 September 2014 12:38, John Meinel <john at arbash-meinel.com> wrote:
> 7) "copytruncate" seems the wrong setting for interactive with rsyslog. I
> believe rsyslog is already aware that the file needs to be rotated, and thus
It is only aware if you sent it a HUP signal.
> it shouldn't be trying to write to the same file handle (and thus we don't
> need to truncate in place). I'm not 100% sure on the interactions here, but
> "copytruncate" seems to have an inherent likelyhood of dropping data (while
> you are copying, if any data gets written then you'll miss those last few
> bytes when you go to truncate, right?)
--
Stuart Bishop <stuart.bishop at canonical.com>
More information about the Juju-dev
mailing list