Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

feat: support -logformat=json #373

Merged
merged 2 commits into from
Nov 16, 2021
Merged

feat: support -logformat=json #373

merged 2 commits into from
Nov 16, 2021

Conversation

shivjm
Copy link
Contributor

@shivjm shivjm commented Sep 17, 2021

Also forces controller-runtime to produce pure JSON. Modelled after (but not identical to) ArgoCD:

https://github.com/argoproj/argo-cd/blob/e44fa434abcfd622f13cf8a0107bc84752184f36/util/log/logrus.go#L35-L51

Closes #57

Also forces controller-runtime to produce pure JSON. Modelled after
(but not identical to) ArgoCD:

https://github.com/argoproj/argo-cd/blob/e44fa434abcfd622f13cf8a0107bc84752184f36/util/log/logrus.go#L35-L51

Closes #57
@CLAassistant
Copy link

CLAassistant commented Sep 17, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @shivjm!

@jgwest jgwest merged commit 5ee156a into argoproj:master Nov 16, 2021
@shivjm shivjm deleted the add-json-logs branch November 16, 2021 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support JSON-format logs
3 participants