-
Notifications
You must be signed in to change notification settings - Fork 749
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
Webhook and sensor log to stderr #884
Comments
It should addressed by making zap log configurable with a configmap. |
The Argo workflow sidecar container |
Curious about how you concluded it logs to stderr? I thought it was just the keyword |
We are using stackdriver where you can see what goes to stdout and stderr |
I see. This is an easy fix. By default zap log use stderr as default output, we can change it to stdout. Question about the keyword |
I meant, if the keyword was |
I see. Then updating info output to stdout should resolve the issue. |
Correct, I'm from the JVM world where it is very strict and one usually finds only problems on stderr ... but I've noticed that there are infos on stderr very casually in the golang world :-) |
Describe the bug
Webhook and sensor log to stderr which polutes stackdriver with errors.
Screenshots
Environment (please complete the following information):
Reason
This is probably related to logrus package. Its default output stream is stderr.
Solution
Good precaution could be using
severity
instead oflevel
in the json object, it would at least make this common problem disappear on stackdriver.The text was updated successfully, but these errors were encountered: