logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cankut Eskin <cankutes...@gmail.com>
Subject Re: Configure the debug value to true or false when needed through C# code
Date Tue, 19 Jan 2010 07:54:45 GMT
Use
log4net.Util.LogLog.InternalDebugging = false;

http://log4net.sourceforge.net/release/1.2.0.30316/doc/manual/faq.html#internalDebug

2010/1/19 Leo Mathew <leo.m@sonata-software.com>

>  Hi All,
>
>
>
> We are using log4Net in our application.
>
> We want to make the debugging of statements to be enabled or disabled.
>
>
>
> Is it possible to configure this by setting the below debug value to “true”
> or “false” through the C# code?
>
> <log4net debug="false">
>
>
>
> The above line is from log4Net.config file.
>
>
>
> Regards,
>
> Leo
>



-- 
Cankut Eskin

Mime
View raw message