Open Wikiwix opened 3 years ago
The fact that the application controller still shows non-json logs even if logFormat is set to json is having a negative impact for me due to this issue: https://github.com/argoproj/argo-cd/issues/9422
I cannot drop the offending messages on my logging platform as they're not in JSON. My logging platform does not support dropping messages based on a partial match of a field.
The ArgoCD Application Controller with
logFormat
set tojson
still gives son non-json loglines:Steps to reproduce
To reproduce simply start the applciationcontroller with
--logFormat json
and force a warning by e.g. defining an Ingress with a deprecatedapiVersion
as in the sample above.Expected behavior
All loglines follow the same JSON format it
logFormat
is sett accordinglyVersion