-
Notifications
You must be signed in to change notification settings - Fork 628
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2383 - jtgeibel:move-logging-near-top-of-middleware, r…
…=JohnTitor Move request logging near the top of the middleware stack By converting to a regular `Middleware` (instead of `AroundMiddleware`), the logging can now sit near the top of the middleware stack. Previously logging occurred at the top of the around stack, which sits under the layers added via `add()`. This change ensures that middleware sitting below the request logger in the stack are able to add logging metadata in a call to `after()`. r? @JohnTitor
- Loading branch information
Showing
2 changed files
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters