跳到主要内容
CNode

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

问答
Ddatura-lj发布于 8 年前最后回复 8 年前
343390

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

查看回复

回复 (3)

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

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

M
MiYogurt#28 年前

linux 自带 logrotate

L
luofeng1#18 年前

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

参与回复

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