Very simple log rotation

@karlitschek @DeepDiver1975 

should prevent extreme growd like #1304, #2699 and #3402.