How do I set the EventID for the EventLogAppender?

 

This is my config:

 

<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" >

            <applicationName value="WAHP" />

            <layout type="log4net.Layout.PatternLayout">

                        <conversionPattern value="%d [%t] %-5p %c [%x] - %m%n" />

            </layout>

  </appender>

 

I do not want to have to set the EventID value in my code. Can it be autogenerated?

Mark A. Richman
Sr. Programmer
Affinity Internet, Inc.
(954) 334-8203
[EMAIL PROTECTED]

 

Reply via email to