[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Recipe for Conserver 8.x / RHEL 7 logrotate

Chris Fowler cfowler@outpostsentinel.com
Fri, 6 Jul 2018 01:42:33 +0000 (UTC)





From: "Matthew Huff via users" <users@conserver.com>
To: users@conserver.com
Sent: Thursday, July 5, 2018 3:07:42 PM
Subject: Recipe for Conserver 8.x / RHEL 7 logrotate
Anyone have any good recipes for conserver logrotate for CentOS/RHEL 7? My googlefoo is lacking...
conserver 8.X supports rotation via conserver.cf.  I suggest using that.

The problem with using logrotate is that you'll need conserver to close and open the file after it rotates. 

I modified conserver 7.X to support logrotation outside of conserver.cf via open(),write(),close() when it needed to log.