Skip to content

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

Merged
srebhan merged 3 commits intoinfluxdata:masterfrom
srebhan:execd_issue_9487
Sep 9, 2024
Merged

feat(inputs.execd): Allow to provide logging prefixes on stderr#15834
srebhan merged 3 commits intoinfluxdata:masterfrom
srebhan:execd_issue_9487

Conversation

@srebhan
Copy link
Copy Markdown
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 mstrandboge and unassigned srebhan Sep 9, 2024
@telegraf-tiger
Copy link
Copy Markdown
Contributor

telegraf-tiger bot commented Sep 9, 2024

@srebhan srebhan merged commit b0d44d8 into influxdata:master Sep 9, 2024
@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