jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Does cactus recognize log4j.xml
Date Tue, 16 Sep 2003 18:33:17 GMT
Hi Matt,

I haven't tried it but I don't think it should be a problem. Cactus uses
commons-logging and commons-logging is transparent to log4j
configuration. Have you put log4j.xml in the classpath? Otherwise, if I
recall you have to pass a log4j system property that points to it.

-Vincent


> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com]
> Sent: 16 September 2003 19:01
> To: cactus-user@jakarta.apache.org
> Subject: Does cactus recognize log4j.xml
> 
> Will cactus pickup my log4j.xml settings?  I have the following in my
> log4j.xml, but it doesn't seem to get picked up:
> 
>   <category name="org.apache.cactus">
>     <level value="WARN"/>
>   </category>
> 
> I've also tried:
> 
>   <logger name="org.apache.cactus">
>     <level value="WARN"/>
>   </logger>
> 
> On past projects, I've used a log4j.properties file with the following
> and it worked fine:
> 
> # Don't show debug logs for Cactus
> log4j.category.org.apache.cactus=WARN
> log4j.category.org.apache.commons.httpclient=WARN
> log4j.category.httpclient=WARN
> 
> Thanks,
> 
> Matt
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message