diff --git a/spacy/util.py b/spacy/util.py index aa9bf301e..ce1022d25 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -70,7 +70,7 @@ CONFIG_SECTION_ORDER = ["paths", "variables", "system", "nlp", "components", "co logger = logging.getLogger("spacy") logger_stream_handler = logging.StreamHandler() -logger_stream_handler.setFormatter(logging.Formatter("%(message)s")) +logger_stream_handler.setFormatter(logging.Formatter("[%(asctime)s] [%(levelname)s] %(message)s")) logger.addHandler(logger_stream_handler)