argo-workflows
argo-workflows copied to clipboard
Migrate toward structured logging
Some parts of the code already have structured logging -- for example:
https://github.com/argoproj/argo/blob/214c451535ebeb6e68f1599c2c0a4a4d174ade25/persist/sqldb/workflow_archive.go#L63-L64
But most don't. Let's migrate the rest.
#2307
Available for testing in v2.10.0-rc1.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hope this PR: https://github.com/argoproj/argo-workflows/pull/9779 can help you. Hi @alexec and @simster7, please help me to review it
Hi @simster7 @sarabala1979 , I submitted #9844 as a continuation of this issue fix (for hacktoberfest 🎃). I started with the log.Fatal(err)
primarily to confirm that the approach is correct. Please let me know of any feedback and I can work on the remaining Fatal
logs with fields, i.e. Fatalf
ones.
Hi, is this still available to work on ?