Actually, the change should be implemented in ManagedHttpClientConnectionFactory, so the creation of the loggers can be overwritten.I just created a ticket https://issues.apache.org/jira/browse/HTTPCLIENT-1374, and uploaded a patch for the issue.
Thanks JL 2013/6/14 JOSE L MARTINEZ-AVIAL <[email protected]> > Thanks Oleg. Yesterday I didn't have access to a more recent version of > the source code. I'm now checking the code from the trunk, and see what can > be done. > > > 2013/6/14 Oleg Kalnichevski <[email protected]> > >> On Fri, 2013-06-14 at 01:18 -0400, JOSE L MARTINEZ-AVIAL wrote: >> > I just took a quick look at the source code(4.3-alpha1), and it seems >> the >> > best option would be to modify >> > org.apache.http.impl.conn.SocketClientConnectionImpl so the wire >> created in >> > the constructor would be provided by a protected method. That way the >> > creation of the wire logger could be customized by extending >> > SocketClientConnectionImpl. >> > How does it sound? >> > >> >> Jose >> >> You should be using ManagedHttpClientConnectionImpl (or a local copy of >> it) from 4.3-beta2. 4.3-alpha1 API is helplessly outdated. >> >> Hope this helps >> >> Oleg >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
