[Support] Bull logger 配置level等级记录不生效 #4183
Answered
by
czy88840616
grapewheel
asked this question in
Q&A
-
Describe the problem(描述问题)midwayLogger: {
default: {
dir: './logs',
},
clients: {
coreLogger: {
level: 'info',
},
appLogger: {
level: 'info',
},
},
bullLogger: {
level: 'warn',
},
} 由于有一个1分钟重复执行的任务,bull的log会在每次执行时输出类似
这样下来一天的日志文件都非常大,而且无需要记录那么多,但设置的 level 为 warn,也会输出,请问怎么办?我要warn以上的输出 Midway Versions(Midway 版本)
|
Beta Was this translation helpful? Give feedback.
Answered by
czy88840616
Nov 8, 2024
Replies: 1 comment 2 replies
Answer selected by
grapewheel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
挪到里面