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

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

5
bot.py
View File

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