forked from Pavel_Durov/python_bot
Изменил(а) на 'bot.py'
This commit is contained in:
parent
2b23fa727f
commit
d351c0eb72
3
bot.py
3
bot.py
@ -12,11 +12,10 @@ 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