Change logging to keep only 3 log files.