On Sat, Jun 14, 2008 at 08:49:04PM -0700, Darryl Dunkin wrote: > It's like asking for directions, and someone tells you to drive, > useless. > > Here is what we do here: > Create /etc/logrotate.d/asterisk: > /var/log/asterisk/asterisk-verbose /var/log/asterisk/messages > /var/log/asterisk/debug /var/log/asterisk/queue_log { > daily > rotate 7 > compress > missingok > notifempty > sharedscripts > postrotate > /usr/local/bin/log_rot_ast > endscript > } > > /usr/local/bin/log_rot_ast contains: > #!/bin/sh > /usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>&1
"logger reload" rotates logs. But not CSV . That's because the CSV CDR files are not held open. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users