Closed EraKin575 closed 2 months ago
Hi @EraKin575 thanks for the PR but I cannot seem to get the desired output with karmor logs --output pretty-json
, it just prints the normal output as in karmor logs
.
You need to change the WatchTelemetryHelper
function.
Also, for the -o
shorthand use StringVarP()
instead of StringVar()
.
In this process, I ended up solving the issue. I can guide you with the solution or if you don't mind I can open a PR and you can give your feedback there.
@navin772 Sorry, I got stuck in some stuff. I have fixed the output flag. thanks for the assist
closing due to duplicate PRs
introduced option flags to beautify logs
fixes: https://github.com/kubearmor/kubearmor-client/issues/439