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 AMIT BHUTRA <am...@hotmail.com> on 2002/07/08 23:32:15 UTC
Property to set Level of a Category
Hi,
How do i set Level for a category from a .properties file?
Like, to associate an appender RollingFileApender to category R, we add
following line to the .properties file..
log4j.appender.R=org.apache.log4j.RollingFileAppender
Similar to this, how do i set Level for a category?
TIA,
Amit
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Property to set Level of a Category
Posted by Doug <um...@yahoo.com>.
log4j.category.<catName>=<level>
or
log4j.category.<catName>=<level>,<appender>
--- AMIT BHUTRA <am...@hotmail.com> wrote:
> Hi,
> How do i set Level for a category from a .properties
> file?
>
> Like, to associate an appender RollingFileApender to
> category R, we add
> following line to the .properties file..
>
>
log4j.appender.R=org.apache.log4j.RollingFileAppender
>
>
> Similar to this, how do i set Level for a category?
>
> TIA,
> Amit
>
>
_________________________________________________________________
> Chat with friends online, try MSN Messenger:
> http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>