From a4b25d7ce5982119eabdc790766d86eac336bc03 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 24 Aug 2020 23:44:24 +0100 Subject: [PATCH] Get rid of logging for now --- bot/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bot/__init__.py b/bot/__init__.py index 1f29082e..a0de9abd 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -14,7 +14,6 @@ # along with this program. If not, see . import datetime -import logging import os import random @@ -28,12 +27,6 @@ from discord.ext.commands import when_mentioned_or from bot.libs.cache import MyCoolCache -logger = logging.getLogger('discord') -logger.setLevel(logging.DEBUG) -handler = logging.FileHandler(filename='discord.log', encoding='utf-8', mode='w') -handler.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s:%(name)s: %(message)s')) -logger.addHandler(handler) - counter = 0 # Get DB information from .env