다음을 통해 공유


Including CeLogFlush in a Run-Time Image (Windows Embedded CE 6.0)

1/5/2010

If you include CeLogFlush.exe in your run-time image, then it runs automatically in the background to periodically flush the CeLog event tracking data from a RAM buffer to a log file.

Note:   Do not add CeLog to shipping devices. The goal is to avoid performance or memory loss due to CeLog and also to reduce the attack-surface through which an attacker could try to compromise the system.

Procedures

To enable CeLog event-tracking

  1. From the Project menu, select Properties.

  2. In the Property Pages window, select Configuration Properties and then select Build Options.

  3. In the Build Options box, make sure Enable Event Tracking During Boot (IMGCELOGENABLE=1) is checked.

    This adds CeLog.dll to ROM and causes the kernel to load it during boot.

  4. Make sure Flush tracked events to Release Directory (IMGAUTOFLUSH=1) is checked.

    This adds CeLogFlush.exe to ROM and causes the OS to launch it during boot.

  5. Click OK.

  6. Build the run-time image.

See Also

Tasks

Enabling CeLog Event Tracking in a Run-Time Image

Other Resources

CeLogFlush.exe