跳到主要内容
CNode

求教,winston 怎么设置按天分割日志?

问答
Ddatura-lj发布于 9 年前最后回复 9 年前
343910

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

查看回复

回复 (3)

D
datura-lj#39 年前
引用 luofeng1winston daily rotate file winston 按天分割

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

M
MiYogurt#29 年前

linux 自带 logrotate

L
luofeng1#19 年前

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

参与回复

登录后即可参与回复。登录