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

log serializer: fix loki log output #980

Merged
merged 1 commit into from
Jul 26, 2023
Merged

log serializer: fix loki log output #980

merged 1 commit into from
Jul 26, 2023

Conversation

mstoykov
Copy link
Contributor

logs going through loki use the hooks logrus concept.

The serialzer was not copying this which meant logs wouldn't have been send to loki.

logs going through loki use the `hooks` logrus concept.

The serialzer was not copying this which meant logs wouldn't have been
send to loki.
Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

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

Aha! Thanks for this! I've also found where the hook is defined for anyone interested.

@ankur22 ankur22 merged commit 78b14b6 into main Jul 26, 2023
@ankur22 ankur22 deleted the fixLogSerializer branch July 26, 2023 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants