Skip to content

Commit

Permalink
Fix: ensure setup_logging does not modify the root logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjia Wang committed Mar 3, 2025
1 parent 1b6c101 commit c88e5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distilabel/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c88e5ec

Please sign in to comment.