log which error occured when failed to read config file