1.修复了rotating log的bug。

This commit is contained in:
facat 2019-06-27 10:56:10 +08:00
parent 107228c6b6
commit 2e8ecfccc1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ _logger_list = []
def get_logger(logger_name):
logger = logging.getLogger(logger_name)
rotating_hd = streamHd
rotating_hd = rotatingFd
stream_hd = streamHd
logger.addHandler(rotating_hd)
logger.addHandler(stream_hd)