From c88e5ec799f4130fe5e2432490a90b29cea8212b Mon Sep 17 00:00:00 2001 From: Minjia Wang Date: Mon, 3 Mar 2025 11:05:07 +0800 Subject: [PATCH] Fix: ensure setup_logging does not modify the root logger --- src/distilabel/utils/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distilabel/utils/logging.py b/src/distilabel/utils/logging.py index 994c81e321..3c2b755c3b 100644 --- a/src/distilabel/utils/logging.py +++ b/src/distilabel/utils/logging.py @@ -93,7 +93,7 @@ def setup_logging( ) log_level = "INFO" - root_logger = logging.getLogger() + root_logger = logging.getLogger('distilabel.root') root_logger.handlers.clear() if log_queue is not None: