求教,winston 怎么设置按天分割日志?
 发布于 7 年前  作者 datura-lj  4155 次预览  最后一次回复是 7 年前  来自 问答 

如题,怎么设置按天分割呢?因为一个文件长时间,会很大。ps:winston 支持 pm2的多核模式嘛

3 回复
luofeng1

winston-daily-rotate-file winston 按天分割

MiYogurt

linux 自带 logrotate

datura-lj

@luofeng1 嗯 ,找个这个插件 了,3Q。这个子安Pm2 启用多核模式 会有问题嘛