Do not disable logging when there is an error writing to file since we will reopen