有没有办法使用 python 中附带的日志记录模块来轮换日志文件?就像 logrotate 中那样?
我使用了 logrotate 但它给出了一些奇怪的结果。
python logging
logging ×1
python ×1