-
Notifications
You must be signed in to change notification settings - Fork 346
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
调整 [INFO] logDir cacheDir 日志输出 #590
Conversation
存在的影响是什么?可以具体一点吗? |
很简单,因为 log 默认输出到了 StdErr,会被日志采集器采集,我们一些任务脚本会检测到标准错误输出,然后给任务标记为出错 |
@binbin0325 |
Codecov ReportPatch coverage has no change and project coverage change:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #590 +/- ##
==========================================
- Coverage 30.70% 30.63% -0.07%
==========================================
Files 40 40
Lines 3042 3042
==========================================
- Hits 934 932 -2
- Misses 2042 2043 +1
- Partials 66 67 +1 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
#260
这个问题曾经被提到过,但是在一次次更变中又被改了回去。
go 的默认 log 是 StdErr 通道的,这条日志打印对日志收集器存在影响。
现在改为 日志等级为 info 时才打印,并且打印到 StdOut标准输出。