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

json output log format #143

Open
msarmadi opened this issue Jun 12, 2023 · 0 comments
Open

json output log format #143

msarmadi opened this issue Jun 12, 2023 · 0 comments

Comments

@msarmadi
Copy link

In cases, like mine, running topicctl as a job in k8s, in useful to have json output log so I don't have to parse it later. In my case much better results and less costs per event in DataDog.

I checked the logging library, which to what I see, is logrus. It has the format available, json_formatter.go. It seems a viable feature to add.

Hoping it can have interest to be implemented. I leave the way of implementation to the code owners, my personal humble idea is to add a command line option e.g. "-o json" or similar.

Pls hint me know if I am stating an already available feature.

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

No branches or pull requests

1 participant