-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature: Log response #14
Comments
First of all, this plugin is called request logger :-) But the idea is nice, especially concerning the status code. As for logging the full response, this should be optional or capped to a limit, because responses sometimes can get really big. (requests can get big, too - but in common use cases I would say that most requests are much smaller than the responses) |
I think a config option to turn on response logging would be nice. |
Yes, but maybe something more differentiated, for example to log the response only for certain status codes and/or for certain content types. |
The config could be something like
Then you can filter both by status code and content_type. If you would like to log everything I'd say passing |
It would be really nice to see the response that is sent for the request. Including the status code.
The text was updated successfully, but these errors were encountered: