diff --git a/spacy/util.py b/spacy/util.py index 981ac426a..964ec1c36 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -67,8 +67,10 @@ CONFIG_SECTION_ORDER = ["paths", "variables", "system", "nlp", "components", "co # fmt: on -logging.basicConfig(format="%(message)s") logger = logging.getLogger("spacy") +logger_stream_handler = logging.StreamHandler() +logger_stream_handler.setFormatter(logging.Formatter('%(message)s')) +logger.addHandler(logger_stream_handler) class ENV_VARS: