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

[ec2metadata] Switch IMDSv2 token warning message to debug #440

Merged
merged 1 commit into from
May 24, 2021

Conversation

hwoarang
Copy link
Contributor

If IMDSv2 is unreachable or disabled on the EC2 instances, the logs
are filled with such messages without providing any real value or action
as the application fallbacks to IMDSv1 anyway. We can move such messages
to the debug level in order to try and keep the log messages clean for
any warnings that might be missed with this flooding.

These messages probably fail into the debug category anyway as they are
mostly helpful when debugging the application.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

If IMDSv2 is unreachable or disabled on the EC2 instances, the logs
are filled with such messages without providing any real value or action
as the application fallbacks to IMDSv1 anyway.  We can move such messages
to the debug level in order to try and keep the log messages clean for
any warnings that might be missed with this flooding.

These messages probably fail into the debug category anyway as they are
mostly helpful when debugging the application.
Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

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

Agreed, lgtm! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants