You can specify category to packages

<category name="org.apache">
    <priority value="ERROR"/>
    <appender-ref ref="STDOUT"/>
</category>

and

<category name="webapp.package">
        <priority value="debug"/>
        <appender-ref ref="STDOUT"/>
</category>


On Mon, 18 Oct 2004 14:27:22 -0700, Will Hartung <[EMAIL PROTECTED]> wrote:
> I have an webapp that is using commons logging backed by log4j. The
> log4j.properties file is in WEB-INF/classes.
> 
> The problem is that when I enable the different verbosity levels, those
> levels are communicated up into the Tomcat container itself. So, if I set
> DEBUG, I get a boat load of crap from the container that I'm, frankly,
> completely uninterested in.
> 
> Anyone have any tips on using Commons Logging within a Webapp without
> interfereing with TOMCAT itself?
> 
> Thanx!
> 
> Regards,
> 
> Will Hartung
> ([EMAIL PROTECTED])
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to