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 stack overflow error on failed loki_logger emit #118

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

PietroPasotti
Copy link
Contributor

We had an internally reported issue where an error in pushing logs into loki would trigger a stack overflow, because the exception handling code was in turn logging an error message triggering error recursion.

Added a test to verify.

@PietroPasotti PietroPasotti requested a review from a team as a code owner January 20, 2025 11:13
@PietroPasotti PietroPasotti merged commit c98c831 into main Jan 20, 2025
6 of 7 checks passed
@PietroPasotti PietroPasotti deleted the fix-loki-logger-overflow-error branch January 20, 2025 15:39
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