Skip to content

DfciPkg: Demote expected not-found/anonymous-token logs to VERBOSE - #385

Open
jibz5 wants to merge 1 commit into
microsoft:mainfrom
jibz5:dfci-demote-expected-notfound-logs
Open

DfciPkg: Demote expected not-found/anonymous-token logs to VERBOSE#385
jibz5 wants to merge 1 commit into
microsoft:mainfrom
jibz5:dfci-demote-expected-notfound-logs

Conversation

@jibz5

@jibz5 jibz5 commented Aug 18, 2026

Copy link
Copy Markdown

The FrontPage/BootMenu queries settings and permissions using the local/anonymous auth token (0x0) and platform-optional setting IDs. DFCI correctly returns EFI_NOT_FOUND for these, but the paths logged at DEBUG_ERROR, flooding the error log with non-errors.

Demote the expected EFI_NOT_FOUND / anonymous-token paths in GetIdentityProperties, HasWritePermissions, and
InternalSystemSettingAccessGet/Set from DEBUG_ERROR to DEBUG_VERBOSE. Genuine failures (provisioning ACCESS_DENIED, 'Auth Protocol too early', 'Unexpected recursion') remain at DEBUG_ERROR.

Description

<Include a description of the change and why this change was made.>

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

<Describe the test(s) that were run to verify the changes.>

Integration Instructions

<Describe how these changes should be integrated. Use N/A if nothing is required.>

The FrontPage/BootMenu queries settings and permissions using the
local/anonymous auth token (0x0) and platform-optional setting IDs.
DFCI correctly returns EFI_NOT_FOUND for these, but the paths logged at
DEBUG_ERROR, flooding the error log with non-errors.

Demote the expected EFI_NOT_FOUND / anonymous-token paths in
GetIdentityProperties, HasWritePermissions, and
InternalSystemSettingAccessGet/Set from DEBUG_ERROR to DEBUG_VERBOSE.
Genuine failures (provisioning ACCESS_DENIED, 'Auth Protocol too early',
'Unexpected recursion') remain at DEBUG_ERROR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: da554102-ea7d-4e9b-b154-f481e6b4fa82
@mu-automation mu-automation Bot added the impact:non-functional Does not have a functional impact label Aug 18, 2026
@jibz5

jibz5 commented Aug 18, 2026

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:non-functional Does not have a functional impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant