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(inputs.phpfpm): Use logger without causing panic #14489

Merged

Conversation

elchenberg
Copy link
Contributor

Summary

Use logger without causing panic.

Checklist

  • No AI generated code was used in this PR

Related issues

Resolves #14485

@telegraf-tiger
Copy link
Contributor

Thanks so much for the pull request!
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla

@telegraf-tiger telegraf-tiger bot added fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Dec 21, 2023
@elchenberg elchenberg force-pushed the inputs-phpfpm-fix-log-without-panic branch from cf4842b to a6e0207 Compare December 21, 2023 10:59
@elchenberg
Copy link
Contributor Author

!signed-cla

Signed-off-by: elchenberg <elchenberg@users.noreply.github.com>
@elchenberg elchenberg force-pushed the inputs-phpfpm-fix-log-without-panic branch from a6e0207 to f00de74 Compare December 21, 2023 12:43
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thanks for the PR - one comment inline

plugins/inputs/phpfpm/phpfpm_test.go Show resolved Hide resolved
@powersj powersj self-assigned this Dec 21, 2023
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thank you!

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jan 2, 2024
@powersj powersj assigned srebhan and unassigned powersj Jan 2, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @elchenberg!

@srebhan srebhan merged commit 1eb86dc into influxdata:master Jan 2, 2024
26 checks passed
@github-actions github-actions bot added this to the v1.29.2 milestone Jan 2, 2024
powersj pushed a commit that referenced this pull request Jan 8, 2024
Signed-off-by: elchenberg <elchenberg@users.noreply.github.com>
(cherry picked from commit 1eb86dc)
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 plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

phpfpm input plugin panics in fcgi mode with json format
3 participants