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

containerd: reduce logging when no errors have occurred #886

Merged
merged 1 commit into from
Apr 3, 2020
Merged

containerd: reduce logging when no errors have occurred #886

merged 1 commit into from
Apr 3, 2020

Conversation

webern
Copy link
Member

@webern webern commented Apr 2, 2020

Issue number:

Closes #872

Description of changes:

Changes the logging verbosity level of non-exceptional, non-informative logs that were increasing the size of the system journal.

Here is a diff of what the patch is doing in containerd(since diff of a diff can be hard to read).

Testing done:

Ran an instance and observed that we are no longer receiving the logs mention in #872

Ran a simple pod.

Ran Sonobuoy tests which passed:

Plugin: e2e
Status: passed
Total: 3586
Passed: 204
Failed: 0
Skipped: 3382

Plugin: systemd-logs
Status: passed
Total: 3
Passed: 3
Failed: 0
Skipped: 0

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Copy link
Contributor

@samuelkarp samuelkarp left a comment

Choose a reason for hiding this comment

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

Minor stylistic change especially if you plan to take this upstream, but not a blocking suggestion.

@bcressey
Copy link
Contributor

bcressey commented Apr 3, 2020

🌲

Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

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

🎹

@webern webern merged commit 076c3b5 into bottlerocket-os:develop Apr 3, 2020
@webern webern deleted the containerd-reduce-logging branch January 13, 2021 19:42
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.

containerd logs a lot of output with low value
6 participants