Skip to content

Log all API responses#1064

Open
chinmaymudholkar1 wants to merge 2 commits intomainfrom
api-log-responses
Open

Log all API responses#1064
chinmaymudholkar1 wants to merge 2 commits intomainfrom
api-log-responses

Conversation

@chinmaymudholkar1
Copy link
Copy Markdown
Collaborator

Log all API responses

@chinmaymudholkar1 chinmaymudholkar1 requested a review from a team as a code owner March 31, 2026 12:37
@zoltan-antal
Copy link
Copy Markdown
Contributor

Before I dig in too deep, why do we need this change?

@zoltan-antal
Copy link
Copy Markdown
Contributor

If we do need this, are we sure we want to implement our own response logging logic? Particularly concerning is the "mask sensitive data" logic - if there's a bug in that (even if not now, but in the future, due to an API change in httpx let's say), we could be logging sensitive info.
Does httpx provide functionality for this? If not, is there a conventional, trusted way of logging httpx responses?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants