Dave, The ApplicationName is the name of your application. In the event viewer this is the 'Source' column.
To write to a different event log you need to set the LogName property. The default value of LogName is 'Application'. Cheers, Nicko > -----Original Message----- > From: Dave Elliott [mailto:[EMAIL PROTECTED] > Sent: 20 August 2004 15:57 > To: Log4Net > Subject: Help with EventLog Appender > > I have the following defined: > > <appender name="EventLog" type="log4net.Appender.EventLogAppender" > > param name="ApplicationName" value="MyEventLog" /> > <layout type="log4net.Layout.PatternLayout"> > <param name="ConversionPattern" value="%m" /> > </layout> > </appender> > > When I use this appender, the event log is NOT created and > all messages end up going to the Application Event Log. > > So messages are getting to the event viewer just not where I > want it to go. > > Any help would be appreciated. > > Thanks, > Dave >
