]> granicus.if.org Git - php/commitdiff
Detailed information about the strftime access.log format
authorMatthias Breddin <mb@lunetics.com>
Fri, 1 May 2015 23:05:39 +0000 (01:05 +0200)
committerJulien Pauli <jpauli@php.net>
Tue, 12 May 2015 11:52:49 +0000 (13:52 +0200)
More descriptive usage of a custom timeformat

sapi/fpm/www.conf.in

index d69bcf5eeee8e7c6a811d796f2de18d0d3a5eff6..e4d7748facdbd0c3f54739f0f1c6337c81e4af8c 100644 (file)
@@ -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 %{<strftime_format>}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 %{<strftime_format>}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"