-
Notifications
You must be signed in to change notification settings - Fork 2k
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
GH-15684 - redirect all logs for level ERROR and FATAL also to stderr #16054
Conversation
dc68d67
to
aa494b2
Compare
0e4d4cd
to
84846f4
Compare
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.
Is it possible to add a test?
Its more difficult than I would expect. Only think that comes to my mind is to redirect System.err to different print stream. It doesn't work for LOG.error() but only if you call System.err.println() directly. Add different appender also doesn't work. I will try something tomorrow if something comes to my mind.. |
1773564
to
84846f4
Compare
Done. I have created a new stage to test it in shell directly. |
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.
LGTM
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.
LGTM
#15684
I configured our default logging to put ERROR and FATAL log levels also to stderr