Skip to content

Conversation

@eddyashton
Copy link
Member

In #7224 we removed the "log via the ringbuffer" path, which was the only place that would pass this enclave_offset arg. So it's always nullopt, and can be removed.

@eddyashton eddyashton requested a review from a team as a code owner November 28, 2025 10:20
Copilot AI review requested due to automatic review settings November 28, 2025 10:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the unused enclave_offset parameter from logger methods. After PR #7224 removed the ringbuffer logging path, this parameter was always std::nullopt and is now being cleaned up.

Key changes:

  • Simplified logger method signatures by removing the enclave_offset parameter
  • Removed conditional enclave timestamp formatting logic from JsonConsoleLogger and format_to_text
  • Adjusted text log format spacing (removed 8-space padding that was used for alignment with enclave timestamps)

Copy link
Member

@achamayou achamayou left a comment

Choose a reason for hiding this comment

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

Great, but needs a changelog entry!

@eddyashton eddyashton merged commit c501932 into microsoft:main Nov 28, 2025
17 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.

2 participants