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

feat: show log severity indicator based on severity number if it's available when severity text is unknown #4971

Merged

Conversation

raj-k-singh
Copy link
Collaborator

@raj-k-singh raj-k-singh commented May 7, 2024

Summary

priority is given to the severity_number when a known value is present and then the severity_text is given the preference. if both of them have unknown values then rely on the log_level if present in the attributes_string and the final fallback is INFO.

Related Issues / PR's

Fixes #4970

Before

log-level-by-sev-number-before

After

log-level-by-sev-number-after

Affected and tested area

Logs explorer list

@github-actions github-actions bot added the enhancement New feature or request label May 7, 2024
@srikanthccv
Copy link
Member

@raj-k-singh can we get PR #4694 merged instead and make any changes required there?

@vikrantgupta25 vikrantgupta25 marked this pull request as ready for review July 22, 2024 11:03
Copy link
Contributor

@SagarRajput-7 SagarRajput-7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vikrantgupta25 vikrantgupta25 self-assigned this Jul 24, 2024
@vikrantgupta25 vikrantgupta25 merged commit 3783ffd into develop Aug 1, 2024
11 of 12 checks passed
@srikanthccv srikanthccv deleted the chore/logs-color-by-sev-number-when-unknown-sev-text branch September 12, 2024 16:50
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

Successfully merging this pull request may close these issues.

Log Level indicator should be based on severity number if severity text is of an unknown type
6 participants