Better logging of logging errors.