logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Mehra <mohi...@gmail.com>
Subject Re: Dynamically add Souce and Category to EventLog
Date Tue, 11 Oct 2005 18:08:07 GMT
Ron,
Thanks for your prompt replay. Although I have seen a lot of posts regarding
EventId, I still don't see anything related to setting the Source
dynamically. Can you please post me some code or redirect to a URL?
 Regards,
Mohit


 On 10/11/05, Ron Grabowski <rongrabowski@yahoo.com> wrote:
>
> This is being addressed in this thread:
>
> http://tinyurl.com/da3hj
>
> http://www.mail-archive.com/log4net-user%40logging.apache.org/msg02455.html
>
> There has also been an issue opened on this since June 2005:
>
> http://issues.apache.org/jira/browse/LOG4NET-38
>
> --- Mohit Mehra <mohit17@gmail.com> wrote:
>
> > Hello There,
> > I am using the most recent version of Log4Net. I need to be able to
> > add
> > source and category information on a per message basis. I am able to
> > successfully add this in the SQL server as I can utilize MDC
> > properties.
> > Example:
> >
> > MDC.Set("category", category);
> >
> > Can I do something similar to EventLogAppender?
> >
> > Thanks in advance.
> >
> > Mohit
> >
>
>

Mime
View raw message