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

Fix bug where echo middleware would not write 'level' for logs and write empty 'error' field even if no error occurs #178

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

orishoshan
Copy link
Contributor

The middleware we were using before would always write an "error" field, even if it was empty.
It also would not write "level", as it was directly writing to the buffer, instead of calling the appropriate logrus function.

…ite empty 'error' field even if no error occurs
@orishoshan orishoshan enabled auto-merge (squash) February 9, 2024 10:56
@orishoshan orishoshan merged commit c83585f into main Feb 9, 2024
20 checks passed
@orishoshan orishoshan deleted the orisho/fix_logging_bug branch February 9, 2024 11:12
@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants