Added logging for config file errors.