test logs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
hogweed1 2022-12-09 11:02:59 -05:00
parent 7d28bb1093
commit bfe6adea42

12
bot.py
View File

@ -1,14 +1,22 @@
from create_bot import dp
import logging
import graypy
from aiogram import executor
from create_bot import dp
from handlers import pipisa, time_new_year, start_help
from othersq import sendnot
logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.DEBUG)
my_logger = logging.getLogger('bot_logger')
my_logger.setLevel(logging.DEBUG)
handler = graypy.GELFUDPHandler('localhost', 12201)
my_logger.addHandler(handler)
pipisa.register_handlers_pipisa(dp)