check if opening log file failed