Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OCU-113] make draconctl able to log JSON #238

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

northdpole
Copy link
Contributor

@northdpole northdpole commented Jul 12, 2024

closes #191
adds --log-format {text,json} flag to rootCMD which when enabled sets the default logger to either plaintext (default) or json
Useful when running draconctl in a cluster

@northdpole northdpole force-pushed the OCU-113-draconctl-json-logging-capability branch from 9603e3a to 24d6a0d Compare July 12, 2024 12:24
@flowirtz flowirtz changed the title #191 make draconctl able to log JSON [OCU-113] make draconctl able to log JSON Jul 15, 2024
@northdpole northdpole force-pushed the OCU-113-draconctl-json-logging-capability branch from 24d6a0d to f49f759 Compare August 5, 2024 13:38
@ptzianos ptzianos merged commit d8262d6 into main Aug 5, 2024
3 checks passed
@ptzianos ptzianos deleted the OCU-113-draconctl-json-logging-capability branch August 5, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide draconctl with the ability to log in json format
2 participants