Thanks! This works nicely.
Irene
-Original Message-
From: Nicko Cadell [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 12:20 PM
To: Log4NET User
Subject: RE: Interface method to request the level of a Logger?
Using just Level gives the actual value set on the logger via
configur
Using just Level gives the actual value set on the logger via
configuration. If the logger has not had an explicit level set on it
then it will inherit the value from its parent. Use the EffectiveLevel
property to get the currently applied level value, this is what
IsEnabledFor(Level) uses.
((log4
Hi,
I'm using the Remoting appender and also a Remoting server (as included in
log4net distribution and runs as an NT service) to receive the events on the
remote sink. Can anyone suggest the best way to provide an "IsAlive" function
to this service so I can check whether the Remoting service i
Thanks for your quick response, Nicko.
I tried this, but even though the logger level was error (I tested
'log.IsErrorEnabled' just before the code you suggested), the line below had
'null' for the level. Would there be a way around this?
Thanks again,
Irene
-Original Message-
From: Nic