日期:2014-05-20  浏览次数:20673 次

HttpClient3.1为什么会打下面的DEBUG级别的log,想说明什么呢
xxxx是我屏蔽掉的公司关键信息,请忽略


15:44:19 DEBUG DefaultHttpParams.java:151: Set parameter http.socket.timeout = 3000
15:44:19 DEBUG MultiThreadedHttpConnectionManager.java:412: HttpConnectionManager.getConnection: config = HostConfiguration[host=http://xxx], timeout = 6000
15:44:19 DEBUG MultiThreadedHttpConnectionManager.java:839: Getting free connection, hostConfig=HostConfiguration[host=http://xxx]
15:44:19 DEBUG Wire.java:70: >> "GET xxx HTTP/1.1[\r][\n]"
15:44:19 DEBUG HttpMethodBase.java:1352: Adding Host request header
15:44:19 DEBUG Wire.java:70: >> "Connection: keep-alive[\r][\n]"
15:44:19 DEBUG Wire.java:70: >> "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12 (.NET CLR3.5.30729)[\r][\n]"
15:44:19 DEBUG Wire.java:70: >> "refere: http://xxxxxx/[\r][\n]"
15:44:19 DEBUG Wire.java:70: >> "Host: xxx[\r][\n]"
15:44:19 DEBUG Wire.java:70: >> "[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "HTTP/1.1 200 OK[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "HTTP/1.1 200 OK[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "Server: nginx0.4[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "Content-Type: text/xml; charset=UTF-8[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "Content-Length: 781[\r][\n]"
15:44:19 DEBUG Wire.java:70: << "[\r][\n]"
15:44:19 DEBUG HttpMethodBase.java:685: Buffering response body
15:44:19 DEBUG Wire.java:70: << "<v lg="0" tm="212800" vi="1" ch="27" tt="CIMG8105" cd="bZWk6XD9F_g"><f st="2" s1="7e936077e58cb22d9232468ac7902a9833dea7fc" bc="10" brt="2">http://123.129.241.34/f4v/21/117238621.h264_1.f4v?key=cd7bbd13fdeaefb3ca51144f0d405dbd821a6b&amp;playtype=1&amp;tk=151409821017784484770472688&amp;brt=2&amp;bc=10&amp;nt=0&amp;du=212800&amp;ispid=800615&amp;rc=206&amp;inf=11&amp;si=sync&amp;fi=78815000&amp;sz=7937608</f><f st="2" s1="7e936077e58cb22d9232468ac7902a9833dea7fc" bc="10" brt="2">http://113.31.34.5/f4v/21/117238621.h264_1.f4v?key=cd7bbd13fdeaefb3ca51144f0d405dbd821a6b&amp;playtype=1&amp;tk=151409821017784484770472688&amp;brt=2&amp;bc=10&amp;nt=0&amp;du=212800&amp;ispid=800615&amp;rc=206&amp;inf=11&amp;si=sync&amp;fi=78815000&amp;sz=7937608</f></v><!--pageview_candidate-->[\n]"
15:44:19 DEBUG HttpMethodBase.java:1014: Should NOT close connection in response to directive: keep-alive
15:44:19 DEBUG HttpConnection.java:1178: Releasing connection back to connection manager.
15:44:19 DEBUG MultiThreadedHttpConnectionManager.java:979: Freeing connection, hostConfig=HostConfiguration[host=http://xxx]
15:44:19 DEBUG IdleConnectionHandler.java:76: Adding connection at: 1326267859587
15:44:19 DEBUG MultiThreadedHttpConnectionManager.java:961: Notifying no-one, there are no waiting threads

------解决方案--------------------
探讨

引用:

他就是把读取到的相关html文本打印出来。方便于调试查看html。这有什么问题?不想要这个日志把日志级别调高或者关了就行了。


那为什么我以前跑的时候都好好的,现在怎么会突然出现这个debug信息呢