Add CCM (CMTrace) log file format option#6284
Open
pl4nty wants to merge 1 commit into
Open
Conversation
Assisted-by: Claude:claude-4.8-opus Signed-off-by: Tom Plant <tom.plant@devicie.com>
pl4nty
commented
Jun 13, 2026
| FileLogger_MaximumSize_Test(tagState, sizeState); | ||
| } | ||
|
|
||
| TEST_CASE("FileLogger_CCMFormat", "[logging]") |
Author
There was a problem hiding this comment.
Not sure this test and the new imports are necessary, since there isn't one for the existing format. Figured I'd submit just in case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 Description
Add a
logging.formatuser setting that selects the format used when writing log entries to a file. The defaultwingetvalue preserves the existing format, whileccmwrites CCM-compatible lines so WinGet logs can be viewed with common IT admin tools (particularly CMTrace and OneTrace).🔗 References
No issue for this one, but credit to @mjr4077au for the idea while we were chatting with chtulip.
🔍 Validation
Set
logging.formattoccm, then opened someWinGetDev.exelogs with OneTrace and CMTraceOpen Questions
✅ Checklist
📋 Issue Type
Microsoft Reviewers: Open in CodeFlow