Try this after your done rotating your log: asterisk -rx reload
This is what I use.. ..o-------------------------------------------------------o.. Brian Fertig Network/Systems Engineer IT Administrator Planet Telecom, Inc. Tampa,FL Office -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Sent: Sunday, September 11, 2005 12:22 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] rotate * log file? Rich Adamson wrote: >Running fc3 with current cvs-head... > >Is there a nice way to rotate the /var/log/asterisk/messages file without >shutting down asterisk? > >I'm currently rotating the log files via cron, however my script requires >asterisk to be shut down, which also kills any outstanding cli sessions >(eg, asterisk -rvvvvv). Would like to rotate the files without killing >the cli session. Any reasonable way to accomplish this? > >Rich > > man logrotate _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- 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 This email was scanned by: Mcafee GroupShield ---------------- CONFIDENTIAL DISCLAMER ---------------- All information provided in this email is considered confidential and proprietary of Planet Telecom, Inc. and Telecenter Inc. Use of this information by anyone other than the recipient or sender will be considered in breach of agreement. _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- 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
