Use better logging

This commit is contained in:
Joscha 2018-07-29 12:22:20 +00:00
parent 9a5eb79a0b
commit d88bf2004f

View file

@ -1,14 +1,15 @@
import asyncio
import logging
# Turn all debugging on
asyncio.get_event_loop().set_debug(True)
logging.basicConfig(level=logging.DEBUG)
import yaboli
from yaboli.utils import *
from join_rooms import join_rooms # List of rooms kept in separate file, which is .gitignore'd
# Turn all debugging on
asyncio.get_event_loop().set_debug(True)
logging.getLogger("asyncio").setLevel(logging.INFO)
logging.getLogger("yaboli").setLevel(logging.DEBUG)
class InfoBot(yaboli.Bot):
"""