logging日志输出文件报错NameError: name 'RotatingFileHandler' is not defined

解决from logging.handlers import RotatingFileHandler

 在logging同级找到handlers


官方文档:https://bugs.python.org/issue1436
满足不是幸福,平平淡淡才是真
原文地址:https://www.cnblogs.com/xing03/p/12541586.html