You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Waiting for the response before logging has issues:
Exceptions can prevent logging
Long response times delay seeing corresponding request logs
This makes using logging for development/debugging annoying and sometimes impossible.
Ideally the logging datastructures should be partitioned into request/response and middleware should be provided or be able to be configured to log the request as it arrives. For compatibility the full request/response information could still be logged once the response is generated if that makes sense.
Happy to put together a PR if people agree with this.
The text was updated successfully, but these errors were encountered:
Waiting for the response before logging has issues:
This makes using logging for development/debugging annoying and sometimes impossible.
Ideally the logging datastructures should be partitioned into request/response and middleware should be provided or be able to be configured to log the request as it arrives. For compatibility the full request/response information could still be logged once the response is generated if that makes sense.
Happy to put together a PR if people agree with this.
The text was updated successfully, but these errors were encountered: