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 slog attribute replacer #13

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Conversation

gjarmstrong
Copy link
Contributor

Description

Currently, if an error is logged without a grouping, there is a conflict in Elastic Search which fails to parse the log, rendering it useless. The ReplaceAttr function will force an error in a slog.Any attribute to change into a group which follows the Elastic Search convention: error.message

How did you test the changes?

  • Unit tests

Dependencies

#12

@gjarmstrong gjarmstrong added the Type: Internal Internal changes in dependencies/tests or project maintenance label Apr 17, 2024
@josemarluedke josemarluedke merged commit b9047d1 into main Apr 22, 2024
2 of 3 checks passed
@josemarluedke josemarluedke deleted the feat/add-slog-attr-replacer branch April 22, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Internal Internal changes in dependencies/tests or project maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants