Skip to content

Show time spent in request handler in access log - #49

Merged
SimonFrings merged 1 commit into
mainfrom
log-timing
Nov 4, 2021
Merged

Show time spent in request handler in access log#49
SimonFrings merged 1 commit into
mainfrom
log-timing

Conversation

@clue

@clue clue commented Nov 4, 2021

Copy link
Copy Markdown
Owner

This changeset adds the time spent in the request handler (middleware handlers + final controller) in the access log with millisecond precision.

2021-01-29 12:22:01.717 - "GET /users HTTP/1.1" 200 6 0.000

This is similar to the $request_time variable available in nginx access logs.

Builds on top of #45, #46, #47, #48
Refs reactphp/cache#35

@clue clue added the new feature New feature or request label Nov 4, 2021
@clue
clue requested a review from SimonFrings November 4, 2021 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants