Kernel-level capture
The ETW kernel process trace sees processes as they are created and destroyed, so nothing slips through between polls.
Catch whatever stole focus from your game.
ProcessLogger records every Windows process start and exit, even ones that live for a fraction of a second, along with memory peaks and every foreground-window change, and lets you search it all in a filterable viewer.
What it is
A window flashes up and your full-screen game drops to the desktop. Task Manager shows nothing, because whatever did it lived for half a second. ProcessLogger exists to answer exactly that question: what just ran, who started it, and what took the foreground.
It is a pair of small Windows apps. An elevated background logger watches the kernel's own process events through ETW, cross-checks them against WMI, and writes every process lifecycle and focus change to a local SQLite database. A viewer lets you filter, sort and export that record.
Each row carries the parent process, the executable path, the command line, the main window title and how heavy the process was: peak working set, peak private bytes and its last working set before exit. Everything stays in one file under your own profile, and nothing is sent anywhere.
Who it's for
Features
The ETW kernel process trace sees processes as they are created and destroyed, so nothing slips through between polls.
WMI runs as a redundant cross-check and a fallback. Reports of the same PID are merged, and each row says whether Etw, Wmi or Both saw it.
Parent process name, full executable path and command line on every row, plus the main window's title when it has one.
Memory sampled every 50 ms while a process lives: peak working set, peak private bytes, final working set and the sample count.
A foreground hook records each window that takes focus, with its process, title, and the times it gained and lost focus.
Processes and Focus tabs with include and exclude filters (partial, exact or regex), per-column value filters, sorting, remembered column widths and auto-refresh.
Export CSV writes exactly the filtered, sorted rows on screen to a file you choose.
One SQLite database in WAL mode under your own profile, so the viewer reads while the logger writes and nothing leaves the machine.
How it works
Run ProcessLogger.Cli.exe and accept the administrator prompt; it reports that it is watching.
Play, work or wait as normal until the window steals focus again.
Switch to the viewer, check the Focus tab for the moment it happened and filter Processes to the same time.
Name, parent, path, command line and lifetime tell you what it was and what launched it.
Quick start
Needs Windows, the .NET 10 SDK, the WebView2 runtime and an administrator account (ETW and WMI tracing need elevation).
The full setup guide lives in the documentation.
> git clone https://github.com/mindattic/ProcessLogger.git
> cd ProcessLogger
> powershell -ExecutionPolicy Bypass -File .\run.ps1 -Redeploy -RunReleasePart of MindAttic
ProcessLogger's own operational logging goes through MindAttic.Log into its own database, kept apart from the process record. It deploys with the shared MindAttic run menu like every other app in the family.
Status
Process and focus capture, reconciliation, memory sampling and the viewer all work today. The milestone makes the logger lean enough to leave running for weeks with a quiet operational log, adds tests for the reconciler's edge cases, and finishes the move to the shared deploy.
Current milestone: Lean logger: a quiet operational log, a trusted reconciler and one standard deploy.
Next step
Guides, reference and design notes are in the searchable MindAttic documentation. The source, issues and history are on GitHub.