From 2b23fa727f6d6c12744050782cf8207bf1163e6f Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Fri, 9 Dec 2022 11:08:11 -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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index d120cf7..81fe4b8 100644 --- a/bot.py +++ b/bot.py @@ -8,14 +8,14 @@ from handlers import pipisa, time_new_year, start_help from othersq import sendnot -# logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.DEBUG) -my_logger = logging.getLogger('bot_logger') -my_logger.setLevel(logging.DEBUG) +root_logger = logging.getLogger( ) +#my_logger.setLevel(logging.DEBUG) handler = graypy.GELFUDPHandler('localhost', 12201) -my_logger.addHandler(handler) +root_logger.addHandler(handler)