Disable debug logging
This commit is contained in:
parent
ce653752fb
commit
06c4a34c84
1 changed files with 2 additions and 7 deletions
|
|
@ -7,13 +7,6 @@ import yaboli
|
|||
from yaboli.utils import *
|
||||
|
||||
|
||||
# Turn all debugging on
|
||||
asyncio.get_event_loop().set_debug(True)
|
||||
#logging.getLogger("asyncio").setLevel(logging.INFO)
|
||||
#logging.getLogger("yaboli").setLevel(logging.DEBUG)
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
class InfoBot(yaboli.Bot):
|
||||
"""
|
||||
Display information about the clients connected to a room in its nick.
|
||||
|
|
@ -166,6 +159,8 @@ class InfoBot(yaboli.Bot):
|
|||
await room.send(text, message.mid)
|
||||
|
||||
def main(configfile):
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
config = configparser.ConfigParser(allow_no_value=True)
|
||||
config.read(configfile)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue