make name a required argument and add fallback to getEffectiveLevel
This commit is contained in:
@@ -29,7 +29,7 @@ class RPC(object):
|
||||
"""
|
||||
self.freqtrade = freqtrade
|
||||
self.logger = Logger(
|
||||
name=__name__,
|
||||
__name__,
|
||||
level=self.freqtrade.config.get('loglevel')
|
||||
).get_logger()
|
||||
|
||||
|
@@ -20,7 +20,7 @@ class RPCManager(object):
|
||||
|
||||
# Init the logger
|
||||
self.logger = Logger(
|
||||
name=__name__,
|
||||
__name__,
|
||||
level=self.freqtrade.config.get('loglevel')
|
||||
).get_logger()
|
||||
|
||||
|
Reference in New Issue
Block a user