[Asterisk-Users] rotate * log file?

Rich Adamson radamson at routers.com
Sun Sep 11 09:26:38 MST 2005


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





More information about the asterisk-users mailing list