Skip to content

Copilot/add logs cmtrace format#4

Draft
Tom Plant (pl4nty) wants to merge 7 commits into
masterfrom
copilot/add-logs-cmtrace-format
Draft

Copilot/add logs cmtrace format#4
Tom Plant (pl4nty) wants to merge 7 commits into
masterfrom
copilot/add-logs-cmtrace-format

Conversation

@pl4nty

Copy link
Copy Markdown
Member

📖 Description

🔗 References

🔍 Validation

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task

@pl4nty Tom Plant (pl4nty) left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

{
// Default WinGet format: "<timestamp> <level> [channel] message"
WinGet,
// CCM/CMTrace-compatible format recognized by CMTrace and Microsoft Endpoint Configuration Manager log viewers

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

CCM/CMTrace-compatible format: "format syntax here"

}

// Formats a log line in CCM (CMTrace-compatible) format.
// CCM log format: <![LOG[message]LOG]!><time="HH:mm:ss.fff+###" date="MM-dd-YYYY" component="channel" context="" type="N" thread="TID" file="">

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggested change
// CCM log format: <![LOG[message]LOG]!><time="HH:mm:ss.fff+###" date="MM-dd-YYYY" component="channel" context="" type="N" thread="TID" file="">

REQUIRE(userSettingTest.GetWarnings().size() == 1);
}
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SettingLoggingFormat belongs here

Comment thread .github/actions/spelling/expect.txt Outdated
fdwgp
FECAFEB
fedorapeople
fff

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggested change
fff

…FileLogger comment, move SettingLoggingFormat test, remove fff from spellcheck
@github-actions

This comment has been minimized.

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