Use named logger 'timesearch'.
parent
3869e5a99a
commit
0aa1ad1596
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue