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

Log all response content option? #41

Open
ScottEAdams opened this issue Apr 27, 2018 · 2 comments
Open

Log all response content option? #41

ScottEAdams opened this issue Apr 27, 2018 · 2 comments

Comments

@ScottEAdams
Copy link

I noticed that response content is logged only if content type is application/json. Would it be possible to add an option for logging all response content?

@tclancy
Copy link
Contributor

tclancy commented Apr 27, 2018

Sure, we could extract the first member of the regex test here into something that can be overridden in Django's settings if you want to put together a PR.

(Probably makes sense to compile that regex at load time instead of rebuilding it on each request too!)

@smn-snkl
Copy link

smn-snkl commented Nov 3, 2018

Any update on this?

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

No branches or pull requests

3 participants