From 3f22fe6525dd157db15edfff9c39655c909a6830 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 18 Mar 2025 10:38:40 +0000 Subject: [PATCH] python: ctx: Always forward all messages to the logger We will let the Python logger filter out what we don't need. Signed-off-by: Michael Tremer --- src/python/ctx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/ctx.c b/src/python/ctx.c index ab9a6deb..a3f22d0a 100644 --- a/src/python/ctx.c +++ b/src/python/ctx.c @@ -135,6 +135,9 @@ static void Ctx___set_logger(CtxObject* self, PyObject* logger) { // Set the logger pakfire_ctx_set_log_callback(self->ctx, Ctx_log_callback, self->logger); + + // Request everything and filter out later + pakfire_ctx_set_log_level(self->ctx, LOG_DEBUG); } static int Ctx_setup_logging(CtxObject* self) { -- 2.39.5