[rsyslog] how to best rotate files
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Sep 15 10:57:26 CEST 2008
On Mon, 2008-09-15 at 01:31 -0700, david at lang.hm wrote:
> On Mon, 15 Sep 2008, Rainer Gerhards wrote:
> one other item that occured to me, should I even be doing the kill -HUP?
> or does rsyslog open the file for writing each time (so that I just have
> to mv the file away and it will create a new one)?
no, you need the HUP. Otherwise the file is kept open (so this is no
easy way to improve performance ;))
Rainer
More information about the rsyslog
mailing list