Generate valid error message when logger cannot be configured