-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
日志输出格式化了2次 #2128
Labels
No update status for a long time
No update status for a long time
type: bug
for issue something isn't working
Comments
@midwayjs/logger上也提交了相同的issue (midwayjs/logger#62) |
日志里要打 % 格式的内容? |
是的 |
@czy88840616 你们会修复吗,我提交了PR (midwayjs/logger#63) |
需要用 % 在后续日志中继续解析? 会不会有安全问题(好比 log4j 那种) |
@ghostoy 我把单测修了下,可以先 rebase 下master |
czy88840616
added
the
No update status for a long time
No update status for a long time
label
Jan 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
No update status for a long time
No update status for a long time
type: bug
for issue something isn't working
在@midwayjs/logger中使用
util.format
对%s
部分格式化一遍,然后到了winston
里又被splat
格式化了一遍,导致日志中输出错误。The text was updated successfully, but these errors were encountered: