Изменил(а) на 'bot.py'

This commit is contained in:
hogweed1 2022-12-09 11:12:10 -05:00
parent 2b23fa727f
commit d351c0eb72

3
bot.py
View File

@ -12,11 +12,10 @@ logging.basicConfig(level=logging.DEBUG)
root_logger = logging.getLogger( )
#my_logger.setLevel(logging.DEBUG)
handler = graypy.GELFUDPHandler('localhost', 12201)
root_logger.addHandler(handler)
logging.LoggerAdapter(root_logger, {'tag': 'jack_bot'})
pipisa.register_handlers_pipisa(dp)