Changed flag on log file open