如何在pm2 cluster模式下,使用winston-daily-rotate-file

问题: 最近用nodejs+express写了一个WebServer类应用。其中使用pm2 cluster模式进行进程管理,nodejs代码中,使用winston-daily-rotate-file进行log记录。其中winston-daily-rotate-file配置如下: 所以问题来了,发现其中maxFiles设置不起作用,winston-daily-rotate-file并没有删除多余的日
相关文章
相关标签/搜索