How to send more information to system event log?

I am trying to use system event log to capture any driver failures in the
field, but the error description length is kind of limited by
ERROR_LOG_MAXIMUM_SIZE (152 bytes including sizeof (IO_ERROR_LOG_PACKET)).
However, when I open the system event log, I have seen many entries with a
very long error description in one line or multiple lines. So how can I send
more information from my driver to the system event log? Does
ERROR_LOG_MAXIMUM_SIZE apply to DumpData too?

Thanks,

John

If you are using an error message file and Message IDs, you will manage
to log long descriptions. Use substitution strings for variable data.

-Srin.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@exgate.tek.com
Sent: Monday, June 21, 2004 3:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to send more information to system event log?

I am trying to use system event log to capture any driver failures in
the field, but the error description length is kind of limited by
ERROR_LOG_MAXIMUM_SIZE (152 bytes including sizeof
(IO_ERROR_LOG_PACKET)). However, when I open the system event log, I
have seen many entries with a very long error description in one line or
multiple lines. So how can I send more information from my driver to the
system event log? Does ERROR_LOG_MAXIMUM_SIZE apply to DumpData too?

Thanks,

John


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com