if the logfile could not be opened, it will not crash anymore