From 8864e1ce3819c2f9a859786b2b027e54e8d35c6b Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Fri, 9 Dec 2022 11:25:43 -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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 3072ec9..b760270 100644 --- a/bot.py +++ b/bot.py @@ -22,8 +22,8 @@ logging.basicConfig( level = logging.DEBUG, handlers = [ graypy.GELFUDPHandler('localhost', 12201) ] ) - - +( logging.getLogger( ) ).addFilter(TagFilter()) +#logging.LoggerAdapter(logging.getLogger( ), {'tag': 'jack_bot'}) #root_logger = logging.getLogger( ) #handler = graypy.GELFUDPHandler('localhost', 12201)