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

Add Log Level Output to built in Logger #6172

Closed
WonderPanda opened this issue Jan 15, 2021 · 1 comment
Closed

Add Log Level Output to built in Logger #6172

WonderPanda opened this issue Jan 15, 2021 · 1 comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺

Comments

@WonderPanda
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe.

The default logger supports multiple log levels but currently the only distinguishing aspect is different colors (assuming that the developer has this turned on). When managing logs in a deployed environment its essential to be able to search for and group on different log levels to properly diagnose issues.

Describe the solution you'd like

The log level should be written out as part of the log message. Eg [INFO] or [ERROR] should be part of the log string itself. This will allow for proper GROK patterns to be set up with various log aggregation tools to properly categorize logs by type

I'm happy to contribute this change if @kamilmysliwiec feels its a reasonable addition

@kamilmysliwiec
Copy link
Member

Thanks for the suggestion! Let's track this here #6221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been looked into type: enhancement 🐺
Projects
None yet
Development

No branches or pull requests

2 participants