make name a required argument and add fallback to getEffectiveLevel

This commit is contained in:
gcarq
2018-03-25 21:05:10 +02:00
parent a2c3df3ac5
commit 3f8d7dae39
14 changed files with 20 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ class RPC(object):
"""
self.freqtrade = freqtrade
self.logger = Logger(
name=__name__,
__name__,
level=self.freqtrade.config.get('loglevel')
).get_logger()

View File

@@ -20,7 +20,7 @@ class RPCManager(object):
# Init the logger
self.logger = Logger(
name=__name__,
__name__,
level=self.freqtrade.config.get('loglevel')
).get_logger()