forked from Pavel_Durov/python_bot
Изменил(а) на 'bot.py'
This commit is contained in:
parent
2b23fa727f
commit
d351c0eb72
5
bot.py
5
bot.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user