You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Richard Knoop <rk...@abz.nl> on 2004/10/05 09:22:10 UTC

Where to find log when log4net fails(ASP.NET)

Hi,

We are using log4net for logging different asp.net applications. Does
log4net writes an error message when it is not able to write to its log?
e.g. destination is readonly or disk is full.

It should write to "System.Console.Error". Where do i find this, or do i
have to redirect it?

Thanks

Richard

Met vriendelijke groet,
ABZ Nederland BV
R. Knoop
Systeemontwikkelaar

Postbus 124, 3700 AC Zeist
Telefoon: 030-6936124
E-mail: rknoop@abz.nl
www.abz.nl

********************DISCLAIMER***********************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
ABZ sluit iedere aansprakelijkheid uit die voortvloeit uit
elektronische verzending.

This e-mail is intended exclusively for the addressee(s) and may
not be passed on to, or made available for use by any person
other than the addressee(s).
ABZ rules out any and every liability resulting from any
electronic transmission.


Re: Where to find log when log4net fails(ASP.NET)

Posted by Jeffrey Schoolcraft <je...@gmail.com>.
if you have log4net running in debug mode and are watching debug
messages on the console or with an application like
http://www.sysinternals.com/ntw2k/freeware/debugview.shtml you'll see
those messages.

See:
http://logging.apache.org/log4net/release/manual/faq.html#HC-1340650

And
http://logging.apache.org/log4net/release/manual/faq.html#internalDebug

Jeff


On Tue, 5 Oct 2004 09:22:10 +0200, Richard Knoop <rk...@abz.nl> wrote:
>  
> 
> Hi, 
> 
> We are using log4net for logging different asp.net applications. Does
> log4net writes an error message when it is not able to write to its log?
> e.g. destination is readonly or disk is full. 
> 
> It should write to "System.Console.Error". Where do i find this, or do i
> have to redirect it? 
> 
> Thanks 
> 
> Richard 
> 
> Met vriendelijke groet, 
> ABZ Nederland BV 
> R. Knoop 
> Systeemontwikkelaar 
> 
> Postbus 124, 3700 AC Zeist 
> Telefoon: 030-6936124 
> E-mail: rknoop@abz.nl 
> www.abz.nl 
> 
> ********************DISCLAIMER*********************** 
> Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). 
> Verstrekking aan en gebruik door anderen is niet toegestaan. 
> ABZ sluit iedere aansprakelijkheid uit die voortvloeit uit 
> elektronische verzending. 
> 
> This e-mail is intended exclusively for the addressee(s) and may 
> not be passed on to, or made available for use by any person 
> other than the addressee(s). 
> ABZ rules out any and every liability resulting from any 
> electronic transmission.