0

我正在使用 S3 从基于 Java Web 的应用程序上传图像。当我在控制台中上传时,我会看到上传文件的所有二进制代码,如下所示:

[2012-12-30 17:09:13,347] [http-bio-8081-exec-5] DEBUG org.apache.http.wire - >> "[0xd7][0xfe][0x16][0xaa]g[0xda]y.[0x8e][0xa6]~[0xb0][0xa7]\[0xc4]k[0xa0][0x12][0x8e][0xcb][0xad][0x8b]X6_v[0xb9][0xdb]][0x1][0xb1][0x94][0xb9][0x89]*[0xdb]j[0x4][0x9]-[0xad][0xab]r[0xe][0xdb]gV4[0x85]V5I[0x89];[0xaa][0xb4]DZ [0xd0]8B,[0xb6]P[0xf6][0xb3][0x9d][0xea][0x89][0x80][0xcb][0xe5] [2012-12-30 17:09:13,347] [http-bio- 8081-exec-5] 调试 org.apache.http.wire - >> "1[0xd2]W[\n]"`

很多行。如何从调试器中删除它?

Eclipse、Tomcat 7.0、Log4J

解决方案 log4j.logger.org.apache.http.wire=WARN http://hc.apache.org/httpcomponents-client-ga/logging.html

4

0 回答 0