Logging for an HTTP client bean
Wessel, Keith
kwessel at illinois.edu
Fri Dec 8 22:36:10 UTC 2023
Thanks, Brent. Sorry, I meant to state that this is still the latest of V4. We’re planning to do our V5 upgrade during the holiday break.
Any guidance on V4?
Keith
From: users <users-bounces at shibboleth.net> On Behalf Of Brent Putman via users
Sent: Friday, December 8, 2023 4:02 PM
To: Shib Users <users at shibboleth.net>
Cc: Brent Putman <putmanb at georgetown.edu>
Subject: Re: Logging for an HTTP client bean
On 12/8/23 11:43 AM, Wessel, Keith via users wrote:
I'm trying to get more detailed logging out of the HTTP client, but setting org.apache.http to DEBUG in my logback config gives me nothing extra in the log.
If this is IdP v5, note that the HttpClient lib and its dependency HttpCore were updated in that release to their 5.x series as well, and the package names are all different. For the HttpClient and HttpCore projects the top-level packages are respectively:
org.apache.hc.client5
org.apache.hc.core5
If you want the on-the-wire log of the actual request and response exchange it will be this category:
org.apache.hc.client5.http.wire
And/or maybe this, they apparently have both:
org.apache.hc.core5.http.wire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20231208/c801c79e/attachment.htm>
More information about the users
mailing list