You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Leos Literak <li...@centrum.cz> on 2002/12/03 09:54:42 UTC

disableAll()

Hi,

I try to upgrade and I realized, that
method disableAll() has dissappeared().
I haven't found any method, which would
have similar functionality. I used it
for example in unit tests ..

Any idea, how to replace it? Meanwhile
I commented it out ..

Thnx

	Leo

-- 
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: disableAll()

Posted by Leos Literak <li...@seznam.cz>.
> The disableX() family of methods have been replaced with the
> hierarchy-wide threshold. You can set the threshold of a logger
> repository (i.e. hierarchy). A better explanation can be found in the
> Complete log4j Manual. See the attached file "threshold.pdf".

thanks. i will read it.


-- 
Leos Literak
http://AbcLinuxu.cz - tady je tucnakum hej!


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: disableAll()

Posted by Ceki Gülcü <ce...@qos.ch>.
Leo,

The disableX() family of methods have been replaced with the
hierarchy-wide threshold. You can set the threshold of a logger
repository (i.e. hierarchy). A better explanation can be found in the
Complete log4j Manual. See the attached file "threshold.pdf".

I hope this answers the question,

At 09:54 03.12.2002 +0100, you wrote:
>Hi,
>
>I try to upgrade and I realized, that
>method disableAll() has dissappeared().
>I haven't found any method, which would
>have similar functionality. I used it
>for example in unit tests ..
>
>Any idea, how to replace it? Meanwhile
>I commented it out ..
>
>Thnx
>
>         Leo
>
>--
>Leos Literak
>http://AbcLinuxu.cz - tady je tucnakum hej!

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793