我想每天在mongo db for windows操作系统中自动循环日志。有可能吗?你有像powershell之类的建议吗?谢谢 最佳答案 使用以下命令use admin db.runCommand( { logRotate : 1 } ) 启动指定的服务时确保-logpath