in reply to Automating File Rotation

On linux you can use cron to change the logfilename. Use a softlink to point to the latest log. Every n minutes create a new file (via cron) and make the softlink to point to the new logfile.