[Bucardo-general] log.bucardo logrotate

Greg Sabino Mullane greg at endpoint.com
Sat Jul 30 02:29:14 UTC 2011


On Mon, Jul 25, 2011 at 02:41:30PM -0400, Jonathan Brinkman wrote:
> Greetings
> 
> In order to manage the log.bucardo file, I've created a logrotate script. 
...

> Is there a better practice for managing this log file?

Not that I know of, but you need to tell logrotate to restart 
Bucardo so it does not try to keep logging to the old 
filehandle. I think you'd need a prerotate/bucardo stop and 
postrotate/bucardo start combo, but I'm not a logrorate guru, so 
I'll refrain from trying to post the exact syntax. :)

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20110729/0b0aed88/attachment.bin 


More information about the Bucardo-general mailing list