RE: How to log EventID with EventLogAppender?

2005-10-05 Thread Ron Grabowski
Looks like there's already an issue open for this: http://issues.apache.org/jira/browse/LOG4NET-38 --- Ron Grabowski [EMAIL PROTECTED] wrote: --- Billy Barnum [EMAIL PROTECTED] wrote: Right. Log4Net error msgs all have the same eventId. This is exactly what I want to change. The

RE: How to log EventID with EventLogAppender?

2005-09-25 Thread Billy Barnum
[mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 2:27 PM To: Log4NET User Subject: RE: How to log EventID with EventLogAppender? I'm not very familiar with the Event Log so bear with me... I looked at some entries in the Event Log on my computer and saw that for similiar messages

RE: How to log EventID with EventLogAppender?

2005-09-25 Thread Ron Grabowski
--- Billy Barnum [EMAIL PROTECTED] wrote: Right. Log4Net error msgs all have the same eventId. This is exactly what I want to change. The documentation for the EventLogAppender says: If the event has an EventID property set then this integer will be used as the event log event id. which

Re: How to log EventID with EventLogAppender?

2005-09-23 Thread Ron Grabowski
Do you want to do something like this: public interface IEventIDLog : ILog { void Info(int eventId, object message); void Info(int eventId, object message, Exception t); void Warn(int eventId, object message); void Warn(int eventId, object message, Exception t); void Error(int

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Billy Barnum
:04 PM To: Log4NET User Subject: Re: How to log EventID with EventLogAppender? Do you want to do something like this: public interface IEventIDLog : ILog { void Info(int eventId, object message); void Info(int eventId, object message, Exception t); void Warn(int eventId, object message

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Ron Grabowski
to log EventID with EventLogAppender? Do you want to do something like this: public interface IEventIDLog : ILog { void Info(int eventId, object message); void Info(int eventId, object message, Exception t); void Warn(int eventId, object message); void Warn(int eventId, object

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Billy Barnum
- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:43 PM To: Log4NET User Subject: RE: How to log EventID with EventLogAppender? The extension folder name may be misleading. The implementation isn't very complex: public void Info(int eventId, object message

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Ganapatiraju, Shiva \(OCFS\)
PROTECTED] Sent: Friday, September 23, 2005 4:43 PM To: Log4NET User Subject: RE: How to log EventID with EventLogAppender? The extension folder name may be misleading. The implementation isn't very complex: public void Info(int eventId, object message, System.Exception t) { if (this.IsInfoEnabled

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Ron Grabowski
EventLogAppender wraps only accepts integers. WILLIAM BARNUM [EMAIL PROTECTED] -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:43 PM To: Log4NET User Subject: RE: How to log EventID with EventLogAppender? The extension folder