monit-general
[Top][All Lists]
Advanced

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

Re: monit logfile and logrotate


From: Martin Pala
Subject: Re: monit logfile and logrotate
Date: Wed, 20 Jul 2011 14:41:51 +0200

Hi,

you need to do "monit reload" in the logrotate's postrotate section to open the 
new logfile, otherwise it continues to write to the same file.


Regards,
Martin


On Jul 20, 2011, at 10:54 AM, Nick Upson wrote:

> I currently have a logrotate config for the monit logfile that just does a 
> copytruncate, but it seems to only do the copy, the logfile continues to grow.
> 
> Using 5.2.5-1, does anyone have a working logrotate config they can share?
> 
> 
> -- 
> Nick Upson (01799 533252)
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]