You can set the threshold of an entire logger hierarchy to OFF
Example in properties (key=value) format: log4j.rootLogger=DEBUG, CON log4j.appender.CON=org.apache.log4j.ConsoleAppender log4j.appender.CON.layout=org.apache.log4j.SimpleLayout # Turn all logging OFF for all loggers regardless of the logger. log4j.threshold=OFF You can achieve the same in In XML format: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration threshold="OFF" xmlns:log4j='http://jakarta.apache.org/log4j/'> <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.SimpleLayout"/> </appender> <root> <level value="DEBUG" /> <appender-ref ref="STDOUT" /> </root> </log4j:configuration> The important attribute is [threshold="OFF"] HTH, Ceki ps: By the way, this is the wrong forum. Your question should have been asked on the log4j-user list. At 15:51 20.05.2002 +0100, Rob Henley wrote: >There are some questions in the archive on this, but I haven't seen an answer. > >Is it possible to set something in the log4j configuration file to >suppress ALL tracing? Or do I need a separate mechanism to turn it off >programatically (which is what I do at the moment). > >Many thanks >Rob Henley -- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>