log4j.logger.loggername=OFF should work.
The logger name depends on what u give in the code. If you say Temp.class.getName() to name the logger give full qualified name of the class.ie., log4j.logger.com.foo.Temp=OFF if you are using older version of log4j I guess it should be log4j.category.com.foo.Temp=OFF Srividya -----Original Message----- From: Louis Voo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:01 AM To: Log4J Users List Subject: how to turn off the log for particular class Hi, Is it possible to turn off the log for some particular class? Can I done this in the configuration file? Regards, Louis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>