diff --git a/plugin/archivar/adapter_integration.py b/plugin/archivar/adapter_integration.py index 3592062..f0056cb 100644 --- a/plugin/archivar/adapter_integration.py +++ b/plugin/archivar/adapter_integration.py @@ -93,6 +93,13 @@ except ImportError: logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) +# Ensure adapter_integration logs are visible by adding a stderr handler +if not logger.handlers: + _handler = logging.StreamHandler() + _handler.setLevel(logging.DEBUG) + _handler.setFormatter(logging.Formatter('%(asctime)s %(levelname)s %(name)s: %(message)s')) + logger.addHandler(_handler) + logger.propagate = False # Don't double-log to root # Callback-Signaturen SendCallback = Callable[[str, str], Awaitable[bool]]