auto revert log files