-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Text vs JSON and File vs CLI logs #4354
Comments
To summarize myself over in #4293:
Edit since then: Let's let users determine whether to use color or not based on the colorizing configs. There's good reasons to preserve color in JSON-formatted log messages, if they're going to be eventually displayed in a CLI-like setting. |
@gshank This is the issue we can use for the last bit of cosmetic work. Let's keep JSON-formatted logs as they are. They include everything, as they should. The intended consumer of these is a machine, and users can spin up their own scripts (or even just From my perspective, the big idea is differentiating between standard text formatted logs for the CLI (info-level) and File (debug-level). These are both intended for use by human beings, and for fundamentally different purposes:
So my inclination is that, relative to how this works presently (in
Or something like that. In practice, I think this will look like splitting up Tricky things:
More things to think about:
Open to hearing thoughts from everyone! |
* [#4354] Different output for console and file logs * Tweak some log formats * Change loging of thread names Co-authored-by: Gerda Shank <[email protected]>
Is there an existing feature request for this?
Describe the Feature
re this comment, text log lines might want to be different per destination. We may want text log lines to filter from json log lines, but I'm not sure about that. Just something to consider.
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: