views:

128

answers:

1

My catalina logs are filling up with gobs of statements like:

/logs/catalina.out:2010-05-05 02:57:19,611 [Thread-19] DEBUG httpclient.wire.content - >> "[0x4]
[0xc][0xd9][0xf4][0xa2]MA[0xed][0xc2][0x93][0x1b][0x15][0xfe],[0xe]h[0xb0][0x1f][0xff][0xd6][0xfb]
[0x8f]O[0xd4][0xc4]0[0xab][0x80][0xe8][0xe4][0xf2][\r]I&[0xaa][0xd2]BQ[0xdb](zq[0xcd]ac[0xa8]

on and on forever.

I searched every config file in both tomcat and apache for the statements that purportedly turn this on as described here:

http://hc.apache.org/httpclient-3.x/logging.html

And I don't see where this logging has been enabled. No other .war I deployed does this. The log4j configuration block in the app isn't doing it.

I also tried to turn it off with statements like this:

org.apache.commons.httpclient.wire=SEVERE

or

org.apache.commons.httpclient.wire.content=SEVERE

or

httpclient.wire.content=SEVERE

in my tomcat/conf/logging.properties file, and that didn't stop it

I'm using an S3 library for grails that may be the source for these. However when I run this application on my development machine (in both develop and deploy configs), I'm not seeing it.

And a related question: When would I want to use these "wire logs?"

+1  A: 

Do you have any additional logging library in your Tomcat common/lib? (i.e SLF4J, Logback, Log4J, etc)

If yes, you may want to configure the respective logging configuration file as well.

ThiamTeck
Thanks! I fixed it with a line in the log4j section in my config.groovy. (Though I'm not sure which line did it: to be safe I tried: 'httpclient.wire.content', 'org.apache.commons.httpclient.wire.content'Now I have to back them out one at a time to see which one is the correct syntax!
ראובן