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(agent): pass quiet flag earlier #13020

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Apr 3, 2023

Additional messages were added to help users know what file was getting loaded or not. The quiet flag was not yet set up or parsed which meant these messages were printed no matter what. This will at least check if the quiet flag was passed and suppress output.

fixes: #13011

Recent changes have made loading the config one of the very first things
that happens, but additional messages were added to help users know what
file was getting loaded or not. The quiet flag was not yet set up or
parsed which meant these messages were printed no matter what.

fixes: influxdata#13011
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Apr 3, 2023
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Apr 3, 2023

Copy link
Contributor

@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.

LGTM.

@powersj powersj merged commit c84940b into influxdata:master Apr 4, 2023
@powersj powersj deleted the fix/13011 branch April 4, 2023 12:57
powersj added a commit that referenced this pull request Apr 24, 2023
@srebhan srebhan added this to the v1.26.2 milestone Jun 21, 2023
@powersj powersj restored the fix/13011 branch March 29, 2024 20:11
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 not fully quiet with --quiet
2 participants