Use named logger 'timesearch'.

This commit is contained in:
Ethan Dalool 2020-10-08 13:15:58 -07:00
parent 3869e5a99a
commit 0aa1ad1596

View file

@ -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()