修复不能记录日志的bug
This commit is contained in:
parent
73979d9476
commit
0aedafcee7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user