Collecting Data On A Standalone Device With CeLogFlush (Windows CE 5.0)

Send Feedback

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.

CeLog.dll and CeLogFlush.exe are not included in a run-time image for a Windows Mobile target device. However, to investigate bugs and other issues, you can copy these files to the correct location and use their functionality.

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

  1. Copy CeLog.dll to the \Windows directory of the target device.

  2. 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.

  3. 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
      
  4. Run CeLogFlush.exe.

See Also

CeLogFlush Registry Settings | CeLogFlush Command-Line Overrides

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.