This OT thread could grow a bit more, then, cause it looks like
something else is the matter.  First of all, your root priority is
already set to info, so you shouldn't be getting debug messages.  Are
you sure the correct config file is being loaded?

Hubert


On Tue, 21 Dec 2004 14:05:23 -0600, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Sorry. I am still getting debug from BeanUtils which is my whole issue. I 
> want debug from everything BUT BeanUtils.
> 
> --------------------
> Mick Knutson
> Wells Fargo Business Direct
> (415) 222-1020
> 
> "This message may contain confidential and/or privileged information. If you 
> are not the addressee or authorized to receive this for the addressee, you 
> must not use, copy, disclose, or take any action based on this message or any 
> information herein. If you have received this message in error, please advise 
> the sender immediately by reply e-mail and delete this message. Thank you for 
> your cooperation."
> --------------------
> 
> -----Original Message-----
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 21, 2004 11:54 AM
> To: Struts Users Mailing List
> Subject: Re: [ot]Excluding BeanUtils from Log4J? How do I do this?
> 
> How did it not work?  Are you seeing info-, warn-, or debug-level logs
> from BeanUtils?  Or are you seeing error-level logs and you want to
> suppress even those?  Or are the logs coming from other classes from
> the beanutils package, but not necessarily the BeanUtils class itself?
> 
> Hubert
> 
> 
> On Tue, 21 Dec 2004 13:48:59 -0600, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > It didn't work. What am I doing wrong here:
> >
> > ================================================
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
> >
> > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/";>
> >
> >         <appender name="A1" class="org.apache.log4j.FileAppender">
> >             <param name="File"   value="A1.log" />
> >             <param name="Append" value="false" />
> >             <layout class="org.apache.log4j.PatternLayout">
> >                 <param name="ConversionPattern" value="%t %-5p %c{2} - 
> > %m%n"/>
> >             </layout>
> >         </appender>
> >
> >         <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
> >                 <layout class="org.apache.log4j.PatternLayout">
> >                    <param name="ConversionPattern"
> >                           value="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
> >                 </layout>
> >         </appender>
> >
> >     <category name="org.apache.commons.beanutils.BeanUtils">
> >           <priority value="error" />
> >         </category>
> >
> >
> >         <category name="org.apache.log4j.xml">
> >           <priority value="info" />
> >           <appender-ref ref="A1" />
> >         </category>
> >
> >         <root>
> >            <priority value ="info" />
> >            <appender-ref ref="STDOUT" />
> >         </root>
> >
> > </log4j:configuration>
> >
> > --------------------
> > Mick Knutson

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

Reply via email to