def configure_logging():
    """Normalizes logging configuration for argilla and its dependencies"""
    handler = ArgillaHandler()

    # See the note here: https://docs.python.org/3/library/logging.html#logging.Logger.propagate
    # We only attach our handler to the root logger and let propagation take care of the rest
    logging.basicConfig(handlers=[handler], level=logging.WARNING)
Normalizes logging configuration for argilla and its dependencies
argilla-v1/src/argilla_v1/logging.py