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: Fix panic in logparser due to missing Log. #10296

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Dec 17, 2021

resolves #10286

The logparser plugins sets-up the grok parser manually without initializing the logger. This leads to the panic reported in #10286. This PR fixes the resulting panic by doing the initialization properly.

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Dec 17, 2021
@sspaink sspaink merged commit a57aadd into influxdata:master Dec 20, 2021
powersj pushed a commit that referenced this pull request Jan 5, 2022
powersj pushed a commit to powersj/telegraf that referenced this pull request Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telegraf 1.21.0 - segmentation violation when using logparser
3 participants