From ed75a2086258329931bc36a74c71e9576293445f Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 1 Oct 2023 02:10:46 +0200 Subject: [PATCH] moar logs --- gawa/start/templatetags/helper_tags.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gawa/start/templatetags/helper_tags.py b/gawa/start/templatetags/helper_tags.py index d5ca8ef..877aa81 100644 --- a/gawa/start/templatetags/helper_tags.py +++ b/gawa/start/templatetags/helper_tags.py @@ -19,6 +19,9 @@ def change_lang(context, lang="de", *args, **kwargs): shamelessly stolen from stackoverflow: https://stackoverflow.com/a/41147772 """ + logger = logging.getLogger(__name__) + + logger.debug(f"changing lang from '{lang}'") path = context['request'].get_raw_uri() url = path