> -----Original Message-----
> From: Robertson, Jason [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 16:44
> To: 'Cactus Users List'
> Subject: RE: Disabling Log Messages
>
> I had a similar issue when I upgraded to 1.4.1 the other day. The
content
> of
> the request and response were showing up as "INFO" log statements even
> though I had cactus and commons-httpclient log levels set to "WARN".
>
> I haven't looked at the httpclient code, but my suspicion is that
there's
> something in there configured wrong and the logger that being used has
an
> incorrect name or something.
>
> When I turned the global level to WARN, the statements went away, so
I'm
> obviously just not configuring the right category, but the right
category
> should be org.apache.commons.httpclient (shouldn't it?).
It should, but it isn't... They is a feature request to move it to that
name. ATM it is named "httpclient" (it is a special category that they
use for logging wire information).
FYI, here's Cactus default log configuration:
# Don't show debug logs for HttpClient
log4j.category.org.apache.commons.httpclient = WARN, cactus
log4j.additivity.org.apache.commons.httpclient=false
log4j.category.httpclient = WARN, cactus
log4j.additivity.httpclient=false
-Vincent
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>