Skip to content

fix(migtd): disable spdmlib logging in release builds - #1052

Draft
sgrams wants to merge 2 commits into
intel:mainfrom
sgrams:fix/spdmlib-release-logging
Draft

sgrams wants to merge 2 commits into
intel:mainfrom
sgrams:fix/spdmlib-release-logging

Conversation

@sgrams

@sgrams sgrams commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Enable the release log level cap in MigTD so spdmlib log calls are compiled out.
Reject release image builds requesting a non-off log level to avoid conflicting Cargo log features.

Assisted-by: GitHub Copilot:GPT-6 Sol

Enable the release log level cap in MigTD so spdmlib log calls are
compiled out. Reject release image builds requesting a non-off log level
to avoid conflicting Cargo log features.

Assisted-by: GitHub Copilot:GPT-6 Sol
Signed-off-by: Stanislaw Grams <stanislaw.grams@intel.com>
@sgrams
sgrams requested a review from jyao1 as a code owner September 25, 2026 10:26
Select the spdmlib-only release log gate and restore configurable
release logging for the rest of MigTD. Pin the spdm-rs submodule
to the commit implementing the scoped gate.

Assisted-by: GitHub Copilot:GPT-6 Sol
Signed-off-by: Stanislaw Grams <stanislaw.grams@intel.com>
@sgrams
sgrams force-pushed the fix/spdmlib-release-logging branch from 2d73baf to dfca245 Compare September 25, 2026 11:25
@sgrams
sgrams marked this pull request as draft September 25, 2026 11:30
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.

1 participant