On Sun, Jun 15, 2008 at 01:50:29PM +0300, Atis Lezdins wrote:
> If they are not held open, you can can just move them away with "mv",
> next CDR should just write new file.
You can. logrotate just automates this 'mv'. It will optionally also
compress older log files. And purge even older ones. It can also avoid
the 'mv' if there was no change. Or rotate by size and not just by time
(it is typically run from a daily cron job). In other words, it is
a "fire and forget" tool.
Naturally you can build one on your own.
--
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