die if we cannot open log file