Remove unnecessary call to set_default_logger