WinCE CeLog

13 views
Skip to first unread message

241sun

unread,
Nov 24, 2006, 9:12:38 PM11/24/06
to cwtg KM system
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedebug5/html/wce51tskEnablingCeLogEventTrackingInRun-TimeImage.asp

Enabling CeLog Event Tracking in a Run-Time Image
In the Platform menu, select Settings.
Switch to the Build Options tab.
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.
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.
Click OK.
Build the run-time image.

241sun

unread,
Nov 24, 2006, 9:15:54 PM11/24/06
to cwtg KM system
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedebug5/html/wce51tskEnablingCeLogZonesDuringBoot.asp

Enabling CeLog Zones During Boot
For information on supported zones, see CeLog Zones.

The following table shows the zone value that can be set in the
registry of the development workstation at the
HKEY_CURRENT_USER\Pegasus\Zones key.

Zone argument Description
CeLogZoneCE: REG_DWORD Indicates which OS zones are to be logged.

By setting CeLogZoneCE to 0 on boot, and then turning on logging with
CeLogSetZones after the device is running, you can trigger logging
during a specific activity.

You can also set CeLogZoneCE to a non-zero value to enable one or more
zones. To combine zones, set CeLogZoneCE to the bitwise OR of their
values. For example, if you set CeLogZoneCE=0x00000062, CeLog will
capture all data logged to

Reply all
Reply to author
Forward
0 new messages