import loggingimport time, osfrom logging.handlers import TimedRotatingFileHandler, RotatingFileHandler# 创建访问日志Logconf.pydef config_log(): strftime = time.strftime("%Y%m%d", time.localtime()) # 当前目录 base_dir = os.path.abspath(os.pa
Python
2023-08-22
51 点赞
0 评论
77 浏览