-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add the logtostdout and colorlogtostdout flag to allow logging to stdout #790
Conversation
Codecov Report
@@ Coverage Diff @@
## master #790 +/- ##
==========================================
+ Coverage 72.78% 72.93% +0.15%
==========================================
Files 17 17
Lines 3259 3281 +22
==========================================
+ Hits 2372 2393 +21
- Misses 887 888 +1
Continue to review full report at Codecov.
|
@sergiud I have add a new file( |
The tests of MSVC builds are failing. Could you please rebase onto current master and see if this helps? |
664e178
to
0df1696
Compare
0df1696
to
2f0c27a
Compare
I fixed the formatting and revised the commit message. Some tests seem to be flaky though which is likely not your fault. |
2f0c27a
to
2f9a5dd
Compare
@sergiud cool, thanks for your great help! |
@sergiud How do you think about this PR? Does this implementation make sense for you? |
I already skipped through the PR and it does make sense to me. However, I would like to wait for additional comments from users (if any). So please hold tight. |
ok, cool. Sorry for pushing you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few suggestions. Thanks for looking into the issue!
Thanks for your suggestions, has resolved those issues. |
Looks great! |
Currently, glog allows to use of logtostderr to send error logs to stderr, but many log tailers would regard logs from stderr as error logs. So we want to send non-error logs to stdout and only send error logs to stderr according to the stderrthreshold.
a5f29ef
to
180b700
Compare
Currently, glog allowed to use logtostderr to send error logs to stderr,
but many log tailors would regard logs from stderr as error logs. So we
want to send non-error logs to stdout and only send error logs to stderr
according to the stderrthreshold.
Resolved #701