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 -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
