cpp/logging/README.md
This C++ project logs to the Windows Event Viewer. It's all wired up to be called from Rust just the same as our RPC code. If you want to test changes here:
resourceFileName and the messageFileName in
instrumentation.man to point at where the files are in your build
directory. (For me, that was
D:\dev\private\sudo\target\x86_64-pc-windows-msvc\debug\sudo.exe). It needs
to be the full path, so Event Viewer can find the exe (to load the resources
from it to know how to format the packet of binary data written to it)
%systemroot%\System32\sudo.exe before you push!wevtutil um cpp\logging\instrumentation.man
wevtutil im cpp\logging\instrumentation.man
wevtutil qe Microsoft-Windows-Sudo/Admin /c:3 /rd:true /f:text