Изменил(а) на 'bot.py'
All checks were successful
continuous-integration/drone/push Build is passing

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)
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)