Only create log file if it does not already exist