From f9995acf3d10a240069951940316a40b06e2b686 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Mon, 21 Apr 2025 18:09:07 +0200 Subject: [PATCH] Update logging --- src/applications/games_list/discord.py | 2 ++ src/applications/twitch_webhook/twitch/webhook.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/applications/games_list/discord.py b/src/applications/games_list/discord.py index 8398a81..efea2da 100644 --- a/src/applications/games_list/discord.py +++ b/src/applications/games_list/discord.py @@ -10,6 +10,8 @@ from applications.games_list.games_list import GameList, GameItem from core.config import config +logging.basicConfig(level=logging.INFO) + logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) diff --git a/src/applications/twitch_webhook/twitch/webhook.py b/src/applications/twitch_webhook/twitch/webhook.py index 7c93391..986b2c1 100644 --- a/src/applications/twitch_webhook/twitch/webhook.py +++ b/src/applications/twitch_webhook/twitch/webhook.py @@ -15,7 +15,10 @@ from applications.twitch_webhook.reward_redemption import RewardRedemption from .authorize import authorize +logging.basicConfig(level=logging.INFO) + logger = logging.getLogger(__name__) +logger.setLevel(logging.INFO) class TwitchService: