python日誌回滾

def printlog(): ##建立日誌文件夾 if os.path.exists('./LOG')==False: os.mkdir("./LOG") ##設置回滾日誌 Rthandler = RotatingFileHandler('LOG/autogate.log', maxBytes=10 * 1024 * 1024, backupCount=
相關文章
相關標籤/搜索