Compartir a través de


Modifying The Size Of The CeLog Buffer (Windows CE 5.0)

Send Feedback

If you want to modify the size of the CeLog buffer, you must set the buffer size before any application loads CeLog.dll. Once CeLog.dll is loaded, there is no way to dynamically re-size the buffer.

The CeLog buffer defaults to a size of 128KB. You can modify the size of the CeLog buffer in a variety of ways:

  • In the device registry

    [HKEY_LOCAL_MACHINE\System\CeLog]

    **    "BufferSize"=dword:**<size>

    Since the IMGCELOGENABLE environment variable causes the kernel to load CeLog.dll before the device registry is available, you cannot use this registry setting to set the size of the buffer when you are using IMGCELOGENABLE.

  • Set the dwCeLogLargeBuf OAL variable

    For more information, see OEM Options for Data Buffering.

  • Command-line parameter

    If you launch CeLogFlush.exe or OSCapture.exe from a command line, you can use the -buf command-line option to set the registry value before loading CeLog.dll.

    For more information, see CeLogFlush Command-Line Overrides and OSCapture Command-Line Overrides.

  • Target Control Window

    From the Target Control Window, you can use the log command with the -buf option to control the size of the CeLog buffer. For example, the following command sets the buffer size to 1MB:
    log -buf 0x00100000

See Also

OEM Options for Data Buffering | CeLogFlush.exe | OSCapture.exe | Target Control Window

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.