Skip to content

Commit 94d9314

Browse files
Jozef PistejRastusik
authored andcommitted
fix(access-log): fixed log format %D, the time taken to serve the request, in microseconds
1 parent 12b7291 commit 94d9314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Log/SimpleAccessLogFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private function replaceConstantDirectives(string $format, AccessLogDataMap $map
5151
'A' => $map->getLocalIp(),
5252
'B' => $map->getResponseBodySize('0'),
5353
'b' => $map->getResponseBodySize('-'),
54-
'D' => $map->getRequestDuration('ms'),
54+
'D' => $map->getRequestDuration('us'),
5555
'f' => $map->getFilename(),
5656
'h' => $map->getRemoteHostname(),
5757
'H' => $map->getProtocol(),

0 commit comments

Comments
 (0)