look for info and demo scripts in google for logrotate. Logrotate is a good solution i guess.
best regards On 7/5/05, Michael Stahl <[EMAIL PROTECTED]> wrote: > Use a script to rotate the logs every night (by cron). If you need one, > I'll post what I have. > > That's only have the solution of course...you would have to write > another script to delete logs > X days old. > > Anyone have one of those handy? > > -----Original Message----- > From: Leo Burd [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 05, 2005 12:28 PM > To: [email protected] > Subject: [Asterisk-Users] How to prevent log files from eating my hard > drive? > > Hello there, > > Somehow, Asterisk log files are consuming all the space that I have in > my hard disk... They've already eaten 14GB and are still hungry!! What > shall I do? I'm not even logging anything in verbose mode!! > > Help really appreciated!! > > Best, > > Leo > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
