|
Re: EventLogAppender: msg#00079log.log4net.user
I believe you can just set it up like so: <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender" > <applicationName value="log4netTest" /> <logName value="CACI" /> <param name="Threshold" value="INFO" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="Logger: %c%nNDC: %x%n%n%m%n" /> </layout> </appender> If that doesn't work you may need to do a little registry updating to link the source (the application) to the desired log. (This can be done with a simple .Net app, and only need be done once per computer.) On Fri, 18 Feb 2005 09:20:00 -0500, Ping Xie <pxie@xxxxxxxx> wrote: > > Hi, > > I'm using EventLogAppender to log to windows event log. Does anyone know how > to config it so that it outputs the logging to a specific log instead of > Application log? for example to CACI log in the screenshot shown below. > > > > Thanks. > > Ping Xie > > CACI > 4831 Walden Lane > Lanham, MD 20706 > pxie@xxxxxxxx > (301) 306-8200 - Main > (301) 306-2829 - Direct > -- Eric Means eric.means@xxxxxxxxx http://www.randomtree.org/eric/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ADONetAppender: 00079, Ping Xie |
|---|---|
| Next by Date: | Re: EventLogAppender: 00079, Ping Xie |
| Previous by Thread: | EventLogAppenderi: 00079, Ping Xie |
| Next by Thread: | Re: EventLogAppender: 00079, Ping Xie |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |