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?

In the Asterisk console type:

logger rotate

Surely this would have come up in a google search.  (You can find google at
http://www.google.com - it's a search engine)

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to