Super! Thanks! Now I see how the script works a bit more clearly. :) I still don't understand what happens if I run: /usr/sbin/asterisk -rx 'logger rotate'
Can I run the above without having the script? What will the command do? Regards, Jan -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Lenz Skickat: den 8 januari 2007 13:13 Till: Asterisk Users Mailing List - Non-Commercial Discussion Ämne: Re: [asterisk-users] Manage 'full' log file Hi Jan, You should use the logrotate in order to delete the log on periodic intervals. This article is meant to do exactly the opposite :) http://astrecipes.net/index.php?n=205 but you get an idea of how to setup log file rotation and how to notify Asterisk that it should open a new file after the log rotation. Hope this helps l. On Mon, 08 Jan 2007 13:00:52 +0100, <[EMAIL PROTECTED]> wrote: > Hi, > > I need some help on how to manage the "full" log file. It's getting > quite large now and I'd like to clear it. Is there any simple command > for this or should I just delete the file (need to be sure this won't > affect the system). > > Also - how do I keep the log file from growing so large? > > Thanks! > > Regards, > Jan > -- Loway Research - Home of QueueMetrics http://queuemetrics.loway.it _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
