Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
fix: apply set_log_level to root handlers
dex0shubhamc5f72113f70c
diff --git a/hyperextract/utils/logging.py b/hyperextract/utils/logging.pyindex d136303..00c6625 100644--- a/hyperextract/utils/logging.py+++ b/hyperextract/utils/logging.py@@ -88,7 +88,12 @@ def set_log_level(level: str) -> None:level: Log level ("DEBUG", "INFO", "WARNING", "ERROR")."""level_value = getattr(logging, level.upper(), logging.WARNING)- logging.getLogger().setLevel(level_value)+ root_logger = logging.getLogger()+ root_logger.setLevel(level_value)+ # configure_logging() levels each handler too, so raising verbosity needs+ # both — otherwise the handler keeps filtering at the configured level.+ for handler in root_logger.handlers:+ handler.setLevel(level_value)__all__ = ["configure_logging", "get_logger", "set_log_level"]