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

解决from logging.handlers import RotatingFileHandler

 

 在logging同级找到handlers


官方文档:https://bugs.python.org/issue1436
posted @ 2020-03-21 19:37  星星放飞  阅读(809)  评论(0编辑  收藏  举报