Avoid crashing on Log File opening