logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Error handling inside log4net
Date Mon, 04 Feb 2008 00:09:28 GMT
The process is explained near the bottom of this page:

 http://logging.apache.org/log4net/release/faq.html

Internal messages/errors are written to Console.Out and System.Diagnostics.Trace. If you want
to capture those message you'll need to write a TraceListener or redirect Console.Out. 

The latest code in Subversion also exposes a LogReceived event on the internal LogLog class
(there's probably a better name for the event). The Configure methods on BasicConfigurator
and XmlConfigurator will return a list of internal messages/errors. Its also possible to disable
output to Console.Out and System.Diagnostics.Trace and only subscribe to the event.

----- Original Message ----
From: aus1977 <aus1977@gmail.com>
To: log4net-user@logging.apache.org
Sent: Sunday, February 3, 2008 8:05:22 AM
Subject: Error handling inside log4net



How 
does 
log4net 
handling 
exception 
of 
itself
-- 
View 
this 
message 
in 
context: 
http://www.nabble.com/Error-handling-inside-log4net-tp15253276p15253276.html
Sent 
from 
the 
Log4net 
- 
Users 
mailing 
list 
archive 
at 
Nabble.com.





Mime
View raw message