Fix log files