From d351c0eb721aa0952ec89bc78e649815599b2d9e Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Fri, 9 Dec 2022 11:12:10 -0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'bot.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 81fe4b8..99572df 100644 --- a/bot.py +++ b/bot.py @@ -11,12 +11,11 @@ from othersq import sendnot logging.basicConfig(level=logging.DEBUG) -root_logger = logging.getLogger( ) -#my_logger.setLevel(logging.DEBUG) +root_logger = logging.getLogger( ) handler = graypy.GELFUDPHandler('localhost', 12201) root_logger.addHandler(handler) - +logging.LoggerAdapter(root_logger, {'tag': 'jack_bot'}) pipisa.register_handlers_pipisa(dp)