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
JSON logging does not work for resource
template
#12788
Comments
resource
template
Some more information was provided on Slack:
|
I guess the
What command did you use to get these logs? Are these logs for a single container? |
Hello, my shell alias for logs is
|
That's very helpful for debugging, thanks! |
I think this might be the issue, EDIT: this does seem to be the difference between the |
Not the prettiest, but I believe you can workaround this using |
I can confirm that workaround is working :) I have used this for "resource get": podSpecPatch: '{"containers":[{"name":"main", "command": ["/var/run/argo/argoexec","emissary","--loglevel","info","--log-format","json","--","argoexec","resource","get","--log-format","json"]}]}', |
Pre-requisites
:latest
What happened/what did you expect to happen?
Worfklows of type "resource" are not logging in JSON format, but output log is mixed:
Version
3.5.5
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: