You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by yacout dadoun <ya...@hotmail.com> on 2004/07/28 00:02:32 UTC

How to add new level

Hi,
How can i add new level to log4j?
Thanks

_________________________________________________________________
Share a single photo or an entire photo slide show right inside MSNŽ 
Messenger. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSNŽ Premium right now and get the 
first two months FREE*.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Re: How to add new level

Posted by Dan Tarkenton <ta...@gmail.com>.
I'm sure you can do this by either subclassing the Category or Logger class.

My only question is why do you want another level other than DEBUG,
INFO, WARNING, ERROR, or FATAL?  What purpose do you have in mind?


On Tue, 27 Jul 2004 22:02:32 +0000, yacout dadoun
<ya...@hotmail.com> wrote:
> Hi,
> How can i add new level to log4j?
> Thanks
> 
> _________________________________________________________________
> Share a single photo or an entire photo slide show right inside MSN®
> Messenger.
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>   Start enjoying all the benefits of MSN® Premium right now and get the
> first two months FREE*.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


RE: How to add new level

Posted by Paul Smith <ps...@aconex.com>.
http://wiki.apache.org/logging-log4j/TraceLevel

> -----Original Message-----
> From: yacout dadoun [mailto:yacout_dadoun@hotmail.com]
> Sent: Wednesday, July 28, 2004 8:03 AM
> To: log4j-user@jakarta.apache.org
> Cc: log4j-dev@jakarta.apache.org
> Subject: How to add new level
> 
> Hi,
> How can i add new level to log4j?
> Thanks
> 
> _________________________________________________________________
> Share a single photo or an entire photo slide show right inside MSNR
> Messenger.
> http://join.msn.com/?pgmarket=en-
> ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_
> MSNIS_Taglines
>   Start enjoying all the benefits of MSNR Premium right now and get the
> first two months FREE*.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org