fix up the log rotator