Large binary log output in Loki
Checklist:
- [X] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- [X] I've included steps to reproduce the bug.
- [X] I've pasted the output of
argocd version.
Describe the bug
When viewing the JSON logs of argocd-repo-server in Loki there is a huge binary printed in &runtime.RawExtension{Raw. I have truncated the output, but it is flooding the logs and filling up the storage.
time="2024-05-21T20:37:31Z" level=info msg="manifest cache hit: &ApplicationSource{RepoURL:registry-1.docker.io,Path:,TargetRevision:8.23.4,Helm:&ApplicationSourceHelm{ValueFiles:[],Parameters:[]HelmParameter{},ReleaseName:,Values:,FileParameters:[]HelmFileParameter{},Version:,PassCredentials:false,IgnoreMissingValueFiles:false,SkipCrds:false,ValuesObject:&runtime.RawExtension{Raw:*[123 34 ...],},},Kustomize:nil,Directory:nil,Plugin:nil,Chart:bitnamicharts/kube-prometheus,Ref:,}/8.23.4"
To Reproduce
Deploy ArgoCD to Kubernetes cluster and view the logs through Loki.
Version
v2.11.1+9f40df0