From: Matthias Breddin Date: Fri, 1 May 2015 23:05:39 +0000 (+0200) Subject: Detailed information about the strftime access.log format X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~42^2~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bd4c3e17d298e15519aff9f2931a5c44ec0839f;p=php Detailed information about the strftime access.log format More descriptive usage of a custom timeformat --- diff --git a/sapi/fpm/www.conf.in b/sapi/fpm/www.conf.in index d69bcf5eee..e4d7748fac 100644 --- a/sapi/fpm/www.conf.in +++ b/sapi/fpm/www.conf.in @@ -299,9 +299,13 @@ pm.max_spare_servers = 3 ; %t: server time the request was received ; it can accept a strftime(3) format: ; %d/%b/%Y:%H:%M:%S %z (default) + The strftime(3) format must be encapsuled in a %{}t tag + e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t ; %T: time the log has been written (the request has finished) ; it can accept a strftime(3) format: ; %d/%b/%Y:%H:%M:%S %z (default) + The strftime(3) format must be encapsuled in a %{}t tag + e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t ; %u: remote user ; ; Default: "%R - %u %t \"%m %r\" %s"