Logging for an HTTP client bean
Brent Putman
putmanb at georgetown.edu
Fri Dec 8 22:02:01 UTC 2023
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/fe1f328c/attachment.htm>
More information about the users
mailing list