Background

Anyone who has worked with ConfigMgr or Intune knows CMTrace. It has been the go-to tool for reading log files for years, but it is a Windows executable that you need to have on the device, or copy there, before you can use it.

Recently I came across CMTrace.dev, a free web-based log viewer built by Microsoft MVPs Florian Salzmann and Jannik Reinhard. It gives you the CMTrace experience directly in the browser, with no installation needed.

What is CMTrace.dev?

CMTrace.dev is a browser-based log viewer for ConfigMgr and Intune logs. You open the site, drag and drop a log file, and it is parsed and color-coded just like you are used to from CMTrace.exe.

It is a free, independent project with no accounts, no paywall and no usage limits. Note that it is not affiliated with or endorsed by Microsoft.

Key Features

  • Automatic format detection – CMTrace format, legacy SCCM logs and plain text.
  • Compressed files – open .zip and .gz archives directly.
  • Severity highlighting – errors, warnings and info are color-coded.
  • Search and filter – filter by severity or text and highlight matches.
  • Error code lookup – decodes Win32, HRESULT and SCCM error codes with links to Microsoft Learn.
  • Compare logs – Git-style side-by-side diff of two log files.
  • Minimap and timeline – quickly spot where the errors cluster.
  • Presets – built-in presets for ConfigMgr and the Intune Management Extension (IME).
  • Large files – a virtualized grid that handles logs with over a million lines.
  • Live tail, dark mode and offline – it can be installed as a PWA and used offline.

What about privacy?

This was my first question. Log files often contain device names, user names and other information you do not want to upload anywhere.

According to the site, everything runs locally in your browser and nothing is uploaded to a server. You can verify this yourself by opening the Network tab in the browser developer tools (F12) while loading a log.

How to use it

Browse to https://cmtrace.dev and drag a log file into the window. For Intune troubleshooting, the Intune Management Extension logs are a good place to start:

C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

For ConfigMgr clients, the logs are found here:

C:\Windows\CCM\Logs

A handy trick is to collect the logs from a device, for example with Collect diagnostics in Intune, and open the zip file straight in CMTrace.dev without extracting it first.

Summary

CMTrace.dev is a nice addition to the toolbox. It is perfect when you are on a machine without CMTrace, when you receive logs from a customer or colleague, or when you want to compare two logs side by side. The error code lookup alone saves a lot of searching.

Give it a try next time you need to dig through a log file!

Resources

Leave a Reply