Use named logger 'timesearch'.
This commit is contained in:
parent
3869e5a99a
commit
0aa1ad1596
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ if bot is None or bot.praw != praw:
|
||||||
raise ImportError(message)
|
raise ImportError(message)
|
||||||
|
|
||||||
|
|
||||||
logging.basicConfig()
|
log = logging.getLogger('timesearch')
|
||||||
log = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
r = bot.anonymous()
|
r = bot.anonymous()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue