[asterisk-users] How to roll-over / move / rotate an Asterisk Master.csv call detail record (CDR) file every 15 minutes

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 4 14:51:38 CST 2012


On Tue, Dec 04, 2012 at 10:05:47AM -0800, Earl Ruby wrote:
> Paul:
> 
> Four reasons not to use logrotate:
> 
> 1. logrotate does not provide log rotation every 15 minutes.

  apt-get install logtail

logtail2 - print log file lines that have not been read

Every 15 minutes use it to get the new lines from the CSV file. Rotate
it when needed with logrotate.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list