Enable CeLog Event Tracking (Compact 2013)
You can create a run-time image that automatically starts CeLog Event Tracking during boot by setting environment variables before you build. It is also possible to set them via the command line in a build window.
Do not include CeLog on a shipping device because the logging that CeLog performs can reduce system performance. Also, omitting CeLog reduces the attack surface through which a malicious user could try to compromise the system.
To enable CeLog event tracking from Platform Builder
In Platform Builder, from the Project menu, select Properties.
In the Property Pages window, select Configuration Properties and then select Build Options.
In the Build Options window, select Flush tracked events to Release Directory (IMGAUTOFLUSH=1).
This adds CeLogFlush.exe to ROM and causes the OS to launch it during boot. Tracked events will be flushed to Celog.clg in the Release directory. This also adds Celog.dll to the run-time image.
(Optional) If you want to load CeLog.dll at an earlier point of the boot process, ensure that Enable Event Tracking During Boot (IMGCELOGENABLE=1) is selected.
This includes CeLog.dll in the MODULES section of the run-time image, which causes the kernel to load it early in boot.
Build the run-time image.