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

Write standard logs to stdout and JSON logs to a file #523

Open
apgrucza opened this issue Jan 24, 2025 · 1 comment
Open

Write standard logs to stdout and JSON logs to a file #523

apgrucza opened this issue Jan 24, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@apgrucza
Copy link

I have a job that runs AWS Nuke weekly. It outputs logs in the standard format, which is good for reviewing the results because it is human-readable. But sometimes I want to do some analysis on the results which is much easier when the logs are in JSON format.

I'd like to keep the stdout logs as-is but be able to also specify a file to write logs to (either in JSON format, or in a configurable format).

@ekristen
Copy link
Owner

@apgrucza interesting idea, I'm not sure the current logging system can handle that, I do have some tentative plans to overhaul it but not anytime soon.

How are you thinking this would work? We'd need a way to state output to stdout and output to a log file or is stdout always a thing and you can just specify an additional output and format?

@ekristen ekristen added the enhancement New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants