logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich.Kleeber...@witt-weiden.de
Subject Antwort: disableAll()
Date Tue, 03 Dec 2002 09:07:50 GMT

try this :

Logger.getRootLogger.setLevel(  Level.OFF )

i think that should turn off logging.




                                                                                         
                                             
                      Leos Literak                                                       
                                             
                      <literakl@centrum        An:       log4j-user <log4j-user@jakarta.apache.org>
                                   
                      .cz>                     Kopie:                                 
                                                
                                               Thema:    disableAll()                    
                                             
                      03.12.02 09:54                                                     
                                             
                      Bitte antworten                                                    
                                             
                      an "Log4J Users                                                    
                                             
                      List"                                                              
                                             
                                                                                         
                                             
                                                                                         
                                             




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:   <mailto:log4j-user-unsubscribe@jakarta.apache.org
>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org
>







--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message