Collecting Data On A Standalone Device With CeLogFlush (Windows Embedded CE 6.0)
1/5/2010
You can collect CeLog event-tracking data on a device that does not have a connection to a development workstation. You can collect data on any OS configuration; there are no required settings in order to use CeLog or CeLogFlush.
You might also find it useful to use the registry or command-line settings to configure other options, like the CeLog zones and buffer size, while you are setting the name of the log file. An especially useful option is to turn on the "UI" setting, to make CeLogFlush display dialog boxes informing you of its operation.
To collect CeLog data on a standalone device
Copy CeLog.dll to the \Windows directory of the target device.
Copy CeLogFlush.exe to any directory on the target device that is convenient.
For example, it might be useful to place CeLogFlush.exe into the Start menu.
If you are using a .lnk shortcut file to launch it, then copy CeLogFlush.exe to the \Windows directory.
Set the name of the log file that CeLogFlush flushes to.
Set the FileName value in the device registry. For more information, see CeLogFlush Registry Settings.
- or -Use the
-n
option on the CeLogFlush command line. For more information, see CeLogFlush Command-Line Overrides.
- or -Make a shortcut file that launches CeLogFlush using the "-n" command-line option. For example, make a file named FLUSH.lnk with these contents:
37#\Windows\celogflush.exe -n \celog.clg
For more information, see Creating a Shortcut File.
Run CeLogFlush.exe.
See Also
Reference
CeLogFlush Registry Settings
CeLogFlush Command-Line Overrides