Yes its definetly possible.We can specify any level to each class.
Srividya

-----Original Message-----
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 12:00 PM
To: Log4J Users List
Subject: Re: how to turn off the log for particular class


Hello, Vullanki,!
You wrote to "'Log4J Users List'" <[EMAIL PROTECTED]> on Wed, 17
Jul 2002
10:11:00 -0500:


 VS>   log4j.logger.loggername=OFF should work.

 VS> The logger name depends on what u give in the code. If you say
 VS> Temp.class.getName() to name the logger give full qualified name of
 VS> the class.ie.,

 VS>  log4j.logger.com.foo.Temp=OFF
 VS> if you are using older version of log4j   I guess it should be
 VS> log4j.category.com.foo.Temp=OFF
 VS> Srividya

Is this possible to specify for some classes INFO level, but for some
classes DEBUG level ?

---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to