Skip to content

fix: Fix panic in logparser due to missing Log.#10296

Merged
sspaink merged 1 commit intoinfluxdata:masterfrom
HRI-EU:fix_logparser
Dec 20, 2021
Merged

fix: Fix panic in logparser due to missing Log.#10296
sspaink merged 1 commit intoinfluxdata:masterfrom
HRI-EU:fix_logparser

Conversation

@srebhan
Copy link
Copy Markdown
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
@telegraf-tiger
Copy link
Copy Markdown
Contributor

@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