For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Using CMtrace.exe to view logs

Command Centre - Diagnostic Logs › Using CMtrace.exe to view logs

CMtrace.exe is a free Microsoft tool bundled with System Center Configuration Manager (SCCM), but it can be used independently and is far better than Notepad for reading Command Centre logs.

Download: From security.gallagher.com/downloads under Third Party Software & Drivers → Microsoft.

Real-time monitoring

CMtrace monitors changes to a log file and displays updates in real-time, with a pause button for when the log updates too quickly. There is no need to close and re-open log files to see the latest content.

Automatic highlight of errors and warnings

By default, errors are highlighted in red and warnings in yellow, which helps spot problems in a long list of messages.

CMtrace log view with error lines highlighted red and warning lines highlighted yellow

Custom highlight of keywords

CMtrace can highlight lines containing a word or phrase. By default it uses the same yellow as warnings, so choose a different, easily identifiable colour first via File → Preferences.

CMtrace File menu and Preferences dialog, with the highlight colour picker indicated

Then go to Tools → Highlight and type a word or phrase.

CMtrace Highlight dialog with the phrase "INVITE sip" entered

Any line containing the phrase is highlighted, which is useful when troubleshooting SIP logs, for example.

CMtrace log view with lines containing "INVITE sip" highlighted in pink

Filtering by keywords

CMtrace can show only the lines that match a filter, via Tools → Filter. The most useful option is "contains". In Command Centre logs, entries carry thread information, so you can filter out the noise from other threads.

CMtrace log before filtering, with a thread identifier highlighted among many other entries
CMtrace Filter Settings dialog set to "Filter when the Entry Text contains [16c4:1ccc]"

In the example below, filtering on the entry text containing [16c4:1ccc] follows a single process and jumps from 18:00 to 18:13, skipping 13 minutes of noise from other processes.

CMtrace log after filtering, showing only the entries for the single filtered thread

Note: The Component, Thread and Time filter fields expect the log to be consumed from an SCCM server, so only the Entry Text field is useful when using CMtrace as a standalone tool.

Ease and portability

CMtrace.exe is under 800 KB and needs no installation. Double-click it and use File → Open (Ctrl+O) to open a log. You can associate .log files with CMtrace. If you intend to use it long term, store it somewhere permanent. For multi-user access, avoid C:\Users\... folders (Downloads, Desktop, Documents), and store it in C:\Windows or a custom folder like C:\Tools.

Last updated

Was this helpful?