Here is a tool I wrote to trim logs. It is very flexible in terms of which log directory to target, which log types to target, what amount of log is preserverd and when to run.