You can also set "additivity" to false for the class or package,
which prevents it from inheriting appenders.  You will have to
look up the syntax yourself, since I do not use the XML style.
- Dan

> -----Original Message-----
> From: Hubert Rabago [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 21, 2004 11:16 AM
> To: Struts Users Mailing List
> Subject: Re: [ot]Excluding BeanUtils from Log4J? How do I do this?
> 
> For the BeanUtils class itself, try something like:
> 
>       <category name="org.apache.commons.beanutils.BeanUtils">
>         <priority value="error" />
>       </category>
> 
> If you want the same priority to apply to all classes under the
> beanutils package, don't include the BeanUtils class name.
> 
> Hubert
> 
> 
> On Tue, 21 Dec 2004 13:10:48 -0600, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > [ot]Excluding BeanUtils from Log4J? How do I do this?
> > I am using the log4j.xml descriptor and really need to 
> exclude this class. Can anyone help please?


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

Reply via email to