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

Pass --level through jailer if set #574

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

gudmundur
Copy link
Contributor

Issue #, if available: #534

Description of changes: In upgrading Firecracker, I noticed a handful of new log lines regarding invocations of the Firecracker API. I've traced them down to logging the API call, and a series of successful request messages. To reduce the amount of log output from Firecracker, I tried adjusting the log level to Warning, but it had no effect as the jailer and the SDK do not seem to respect the setting if no path or fifo is used. This change changes the jailer so that it will propagate the level through to the binary's --level flag if set.

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

@gudmundur gudmundur requested a review from a team as a code owner June 12, 2024 08:54
Signed-off-by: Gudmundur Bjarni Olafsson <[email protected]>
@gs0510
Copy link

gs0510 commented Jun 13, 2024

@swagatbora90 @austinvazquez Any chance y'all could look into it? Seems like you folks are the most recent contributors on AWS side. Thank you!

Copy link
Contributor

@sondavidb sondavidb left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the contribution!

@swagatbora90 swagatbora90 merged commit 584828d into firecracker-microvm:main Jun 14, 2024
6 checks passed
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.

4 participants