From 2c1a1996a1c08f8b22a93a5b74c67a30505f5e2a Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 19 Aug 2018 20:24:54 +0000 Subject: [PATCH] Remove debugging logging --- examplebot.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examplebot.py b/examplebot.py index 482a5ad..ba9bdb8 100644 --- a/examplebot.py +++ b/examplebot.py @@ -5,12 +5,6 @@ import logging 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 ExampleBot(yaboli.Bot): async def on_command_specific(self, room, message, command, nick, argstr): @@ -34,6 +28,8 @@ class ExampleBot(yaboli.Bot): await self.botrulez_help(room, message, command, text=short_help) def main(configfile): + logging.basicConfig(level=logging.INFO) + config = configparser.ConfigParser(allow_no_value=True) config.read(configfile)