Log Remover

So I run half a dozen of kodi installs, some on raspberry pi some on nuc but all using either openelec or kodibuntu all more or less up to date. I notice on the raspberries (but also on the others) that when the log files fill the HD (which they eventually all do) everything pretty much stops working. I eventually remember that was the problem log in and just remove all the log files and everything is fine again for a year or so.

Is there a addon or tool that can delete the log files on a timed event … something like delete log files that are two weeks old ?

Thanks