Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368835

Summary: [api] disable log output for org.apache.http.*
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact: Steffen Pingel <steffen.pingel>
Severity: enhancement    
Priority: P3 CC: greensopinion
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 335254    
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2012-01-17 10:34:57 EST
With the migration to the new HTTP transport the Hudson connector started logging a lot of output to the console by default:

16:29:24.517 [pool-1-thread-28] DEBUG org.apache.http.headers - << Keep-Alive: timeout=15, max=100
16:29:24.517 [pool-1-thread-28] DEBUG org.apache.http.headers - << Connection: Keep-Alive
16:29:24.517 [pool-1-thread-28] DEBUG org.apache.http.headers - << Content-Type: text/plain
16:29:24.518 [pool-1-thread-28] DEBUG o.e.m.c.r.h.core.CommonHttpClient$1 - Connection can be kept alive for 15000 MILLISECONDS
16:29:24.518 [Worker-51] DEBUG o.a.h.i.c.t.ThreadSafeClientConnManager - Released connection is reusable.
16:29:24.518 [Worker-51] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Releasing connection [HttpRoute[{s}->https://hudson.eclipse.org]][null]
16:29:24.518 [Worker-51] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Pooling connection [HttpRoute[{s}->https://hudson.eclipse.org]][null]; keep alive for 15000 MILLISECONDS
16:29:24.518 [Worker-51] DEBUG o.a.h.i.conn.tsccm.ConnPoolByRoute - Notifying no-one, there are no waiting threads
...
Comment 1 Steffen Pingel CLA 2012-01-23 16:02:54 EST
Moved logging initialization into new method CoreUtil.initializeLoggingSettings() which is invoked early in HttpUtil.
Comment 2 Steffen Pingel CLA 2012-01-23 16:02:57 EST
Created attachment 209940 [details]
mylyn/context/zip