We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As a developer using pretty-print formatting to view my logs, I want the headers to all align so that I can visually scan my log output.
Currently, when enabling -log.goroutine-id, the logging may look like:
-log.goroutine-id
2021/08/08 20:32:33 <example-server> [MAIN :INFO:1] Logging Configured! 2021/08/08 20:32:33 <example-server> [MAIN :INFO:1] Hello World! 2021/08/08 20:32:34 <example-server> [HNDLR:WARN:19] WATCH OUT! 2021/08/08 20:32:34 <example-server> [HNDLR:INFO:19] Standard stuff... 2021/08/08 20:32:34 <example-server> [HNDLR:WARN:5] WATCH OUT! 2021/08/08 20:32:34 <example-server> [HNDLR:INFO:5] Standard stuff... 2021/08/08 20:32:34 <example-server> [HNDLR:DBUG:5] Query Params:
In this example, the length of the goroutine-id portion of the pretty-print header is different on different lines, making visual parsing difficult.
goroutine-id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
As a developer using pretty-print formatting to view my logs, I want the headers to all align so that I can visually scan my log output.
Details
Currently, when enabling
-log.goroutine-id
, the logging may look like:In this example, the length of the
goroutine-id
portion of the pretty-print header is different on different lines, making visual parsing difficult.Acceptance Criteria
The text was updated successfully, but these errors were encountered: