Skip to content

feat: add log-level setting to container-runtime extension#137

Open
youwalther65 wants to merge 1 commit into
bottlerocket-os:developfrom
youwalther65:containerd-log-level
Open

feat: add log-level setting to container-runtime extension#137
youwalther65 wants to merge 1 commit into
bottlerocket-os:developfrom
youwalther65:containerd-log-level

Conversation

@youwalther65

Copy link
Copy Markdown

Summary

  • Adds a ContainerdLogLevel enum (trace, debug, info, warn, error, fatal, panic) to the container-runtime settings extension
  • Adds a log_level field to ContainerRuntimeSettingsV1 to allow configuring containerd log verbosity
  • Includes unit tests for serialization/deserialization round-trip

Resolves bottlerocket-os/bottlerocket#4720

Test plan

  • cargo test --release -p settings-extension-container-runtime passes
  • Full make build passes (fmt, clippy, deny, tests)

Add ContainerdLogLevel enum (trace, debug, info, warn, error, fatal,
panic) matching containerd's logrus log levels, and a log_level field
to ContainerRuntimeSettingsV1. This enables configuring containerd's
log verbosity via settings.container-runtime.log-level.
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.

Expose containerd log level via Bottlerocket API

1 participant