logger is not throwing error if config file not found