Hi,
One possible way would be to pick two of the standard log4j levels and
use only those two.  For example, DEBUG for verbose and WARN for
standard.  You can then easily configure separate appenders for the two
levels, etc.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Narayanan, Shiva (MED, Compuware)
[mailto:[EMAIL PROTECTED]]
>Sent: Monday, August 19, 2002 12:24 PM
>To: [EMAIL PROTECTED]
>Subject: How to define custome log level?
>
>Hello All,
>
>We would like to use just two logging levels in our project (namely
>standard and verbose). We don't want to
>use the exisiting levels(ALL, DEBUG, ERROR, FATAL, INFO, OFF and
>WARN).How do we achieve this?
>Do we have to subclass org.apache.log4j.Level class?
>
>Thanks,
>Shiva
>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:log4j-user-
>[EMAIL PROTECTED]>

This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

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

Reply via email to