From 248beeab3f4cbc542eca484884d11d7f0f937d04 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 23 Dec 2023 21:45:46 +0100 Subject: [PATCH] Use LokiHandler --- akibabot/logging.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/akibabot/logging.py b/akibabot/logging.py index 9b96c99..c230b33 100644 --- a/akibabot/logging.py +++ b/akibabot/logging.py @@ -8,8 +8,7 @@ def init_loki_logging(config: dict[str, str]): """Configures the logging to Loki.""" import logging_loki - handler = logging_loki.LokiQueueHandler( - Queue(-1), + handler = logging_loki.LokiHandler( url=config["loki"]["url"], version="1", tags={