-
Notifications
You must be signed in to change notification settings - Fork 56
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
Print warnings of scalyr-agent-2-config to stderr #704
Comments
Thanks for submitting this. This has been submitted to engineering, and we will let you know when there are any updates on it. Thanks again for such a thorough analysis, troubleshooting, and repro steps. |
Digging into this deeper, can you give me an idea of what you are trying to modify? Or did you just stumble upon this bug? Though this is a way to modify the agent config, it is sort of old. It is still useful, but there are easier ways to make changes. |
I followed the documentation (https://app.scalyr.com/help/scalyr-agent-k8s#export-config) which told me to execute
Maybe updating this paragraph here https://app.scalyr.com/help/scalyr-agent-k8s#export-config and deprecating |
What
Following the instructions from https://app.scalyr.com/help/scalyr-agent-k8s#export-config fails
Why
Warnings are printed to stdout instead of stderr and thus are also piped to
tar
:Manually removing the warning is a workaround that works:
Docker image version: 2.1.15
Definition of done
The logger should print warnings and errors to
stderr
and notstrdout
. I think this should probably be done here:scalyr-agent-2/scalyr_agent/scalyr_logging.py
Lines 75 to 91 in 539b012
The text was updated successfully, but these errors were encountered: