Open pmoravec opened 1 year ago
Actually, the information is there:
DistributionsRpmApi.partial_update
translates to PATCH /pulp/api/v3/distributions/rpm/rpm/
.
Also you should find the correlationID "6ce9a60c" in the pulp access logs, i think.
Having said this, it may still be valid to add more verbose logging here.
Is your feature request related to a problem? Please describe. When
katello
enablespulp_rest
debugs (once https://github.com/Katello/katello/pull/10402 is merged), it starts logging debugs like:from
rubygem-pulp_rpm_client
. The debugs contain request and response body and endpoint, but not the request URL and method used.It would be beneficial for understanding katello<->pulp communication to log there also these pieces of information.
Describe the solution you'd like
In generated
pulp_rpm_client
code, e.g. inlib/pulp_rpm_client/api_client.rb
:add something like:
prior the
if include?
code.Describe alternatives you've considered Enhance
katello
(or any other client communicating withpulp
) in a similar way - where the changes would have to be maintained per each such project separately.