From 0aa1ad159600e8cfde8fbd4da76a58143cc97138 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 8 Oct 2020 13:15:58 -0700 Subject: [PATCH] Use named logger 'timesearch'. --- timesearch_modules/common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/timesearch_modules/common.py b/timesearch_modules/common.py index 58027f2..35d1add 100644 --- a/timesearch_modules/common.py +++ b/timesearch_modules/common.py @@ -30,8 +30,7 @@ if bot is None or bot.praw != praw: raise ImportError(message) -logging.basicConfig() -log = logging.getLogger(__name__) +log = logging.getLogger('timesearch') r = bot.anonymous()