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

feat(inputs.execd): Allow to provide logging prefixes on stderr #15834

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Sep 3, 2024

Summary

Enable more differentiated logging in external plugins by allowing to provide logging indicators and reflecting those levels in the actual logging on Telegraf side. The PR is backward compatible if no indicator is provided.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #9487

@telegraf-tiger telegraf-tiger bot added area/execd Issues related to execd or plugins that would be better suited to be used through execd feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Sep 3, 2024
@srebhan srebhan self-assigned this Sep 3, 2024
@srebhan srebhan 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 Sep 9, 2024
@srebhan srebhan assigned DStrand1 and unassigned srebhan Sep 9, 2024
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Sep 9, 2024

@srebhan srebhan merged commit b0d44d8 into influxdata:master Sep 9, 2024
27 checks passed
@srebhan srebhan deleted the execd_issue_9487 branch September 9, 2024 16:00
@github-actions github-actions bot added this to the v1.32.0 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/execd Issues related to execd or plugins that would be better suited to be used through execd area/logging feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin 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.

Log handling for external plugins
3 participants