1,错误的原因是日志的配置文件路径错了,文件无法找到。 logging.config.fileConfig(PATH) 仔细检查PATH的路径是否正确 转载于:https://www.cnblogs.com/chenjianhong/archive/2012/10/23/4144903.html