修复不能记录日志的bug

This commit is contained in:
msincenselee 2019-02-27 13:39:25 +08:00
parent 73979d9476
commit 0aedafcee7

View File

@ -93,7 +93,7 @@ class BasicMonitor(object):
filename = os.path.abspath(os.path.join(path, monitor_name))
print( u'create logger:{}'.format(filename))
self.logger = setup_logger(filename=filename, name=monitor_name)
self.logger = setup_logger(filename=filename, name=monitor_name,debug=True)
########################################################################
class MarketMonitor(BasicMonitor):