Making Logrus/logging defaults pluggable? #5871
-
I'm trying to improve observability in Argo as I upgrade, and the way logs show up in Stackdriver is one of the first major hurdles I've encountered with it. I understand the default behavior in Logrus is to send all logging to
I'm not super familiar with the Argo codebase, but it looks like the init code for Logrus in the workflow controller is just as simple as the example init code above:
To me, it seems like adding in a line for |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It also occurs to me that additional customizations for Logrus could be surfaced to Argo administrators via a similar mechanism, such as logging to structured JSON with |
Beta Was this translation helpful? Give feedback.
-
Structured JSON logging is already supported via |
Beta Was this translation helpful? Give feedback.
Structured JSON logging is already supported via
--log-format
. I don't think other customization is supported yet besides logging level.