Config option for allowing/disallowing logging of expected errors