Maybe I just reinvented the wheel, but I couldn't find an easy way to do this.
All I wanted to do was rotate my apache logs at midnight Sunday, so I could have
weekly logs.
If it's of any use to anyone else I have put my patch here:
http://raburton.lunarpages.com/apache/rotatelogs/
Basically you can just send a signal (SIGUSR1 by default) to the running rotate
logs process to cause it to rotate. You can then call this once a week using
cron, or however & whenever you like.
Richard.