RE: TraceAppender question

Nicko Cadell <[email protected]> Fri, 23 Jan 2004 00:19:09 -0000
Newsgroups gmane.comp.windows.dotnet.log4net.user
Message-ID <[email protected]>
Julie,

> I'm not sure how to use the TraceAppender for log4net. 
> In the TraceAppender config example  provided in the 
> documentation, it states that "These messages will be 
> logged to any System.Diagnostics.TraceListener that is 
> registered in the config file."
>
> What does this mean? Specifically, what does "that is 
> registered in the config file" mean?
>

This could be better explained in the log4net documentation. What it means
is that it writes to the System.Diagnostics.Trace class. This is the logging
system that is built-in to the .net framework base class library.

One way of configuring the System.Diagnostics.Trace system is through the
application's .config file. That is what the documentation is referring to.
See the MSDN documentation for the System.Diagnostics.Trace class for
configuration examples.

Nicko


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn