Minor updates

This commit is contained in:
Gerald Lonlas
2018-03-02 21:47:00 +08:00
parent 6ef7b7d93d
commit bc8ca491cd
3 changed files with 9 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
Freqtrade is the main module of this bot. It contains the class Freqtrade()
"""
import logging
import arrow
import copy
import json
@@ -36,7 +37,7 @@ class FreqtradeBot(object):
"""
# Init the logger
self.logger = Logger(name='freqtrade').get_logger()
self.logger = Logger(name=__name__, level=config.get('loglevel')).get_logger()
# Init bot states
self._state = State.STOPPED