From dd3a7f96414620081e19938a989d40858646b098 Mon Sep 17 00:00:00 2001 From: Lysandre Debut Date: Sat, 13 Feb 2021 14:19:56 +0100 Subject: [PATCH] Revert propagation (#10171) --- src/transformers/utils/logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transformers/utils/logging.py b/src/transformers/utils/logging.py index b292d13e4..9ac852a7e 100644 --- a/src/transformers/utils/logging.py +++ b/src/transformers/utils/logging.py @@ -85,6 +85,7 @@ def _configure_library_root_logger() -> None: library_root_logger = _get_library_root_logger() library_root_logger.addHandler(_default_handler) library_root_logger.setLevel(_get_default_logging_level()) + library_root_logger.propagate = False def _reset_library_root_logger() -> None: