Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Debug/Trace Output with full API request and response information #2675

Open
CHS-OTC opened this issue Oct 8, 2024 · 0 comments
Open

Comments

@CHS-OTC
Copy link

CHS-OTC commented Oct 8, 2024

Currently Trace level TF_LOG information does only contain information about the Request URI and the response body for error requests.
But for debugging it would be really helpful to also have the request body and the response headers in the debug output.

So we would like to have the following information from every single request done against the OTC API. It should not be limited to only failed requests as sometimes only the followup request fails and some information of the proceeding requests would be lost.
The following information would be nice:
Method
Request URI
Request Body
Response Header
Response Body

If you do not want to expose the OTC credentials in the logs it would be fine to omit the authentication requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants