[Asterisk-Users] Re: Logger rotate & master.csv
Patrick
asterisk at puzzled.xs4all.nl
Tue May 23 02:19:44 MST 2006
On Tue, 2006-05-23 at 09:08 +0000, Tony Mountifield wrote:
[snip]
> > /var/log/asterisk/messages /var/log/asterisk/event_log /var/log/asterisk/queue_log
> > /var/log/asterisk/h323_log /var/log/asterisk/cdr-custom/Master.csv {
> > missingok
> > notifempty
> > create 0640 asterisk asterisk
> > sharedscripts
> > postrotate
> > /usr/sbin/asterisk -rx 'logger rotate' >/dev/null 2>/dev/null || true
> > endscript
> > }
>
> If logrotate is doing the rotation of the files, then I think you only
> need asterisk to do "logger reload", not "logger rotate".
Good one. Thanks for the tip.
Regards,
Patrick
More information about the asterisk-users
mailing list