Logging for an HTTP client bean
Wessel, Keith
kwessel at illinois.edu
Fri Dec 8 16:43:33 UTC 2023
Hi, all,
I'm setting up a HTTPConnector data connector to pull an attribute back from a web service. But I'm getting this from the data connector: HTTP status unknown or unacceptable
I'm using my own HTTP client bean as instructed in the HTTPConnector data connector docs. 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. Should I be getting logs from my own HTTP client bean through that class as long as it's using the standard parent?
<bean id="BannerAPIHTTPClient" parent="shibboleth.HttpClientFactory"
p:connectionTimeout="PT30S"
p:connectionRequestTimeout="PT30S"
p:socketTimeout="PT30S" />
I'd love to turn up logging to find out what invalid HTTP response in particular I'm getting back.
Thanks,
Keith
More information about the users
mailing list