com php-src: Detailed information about the strftime access.log format: sapi/fpm/www.conf.in
| From: | JulienPauli | Date: | Tue, 12 May 2015 11:52:49 +0000 |
| Subject: | com php-src: Detailed information about the strftime access.log format: sapi/fpm/www.conf.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86688@lists.php.net to get a copy of this message | ||
Commit: 6bd4c3e17d298e15519aff9f2931a5c44ec0839f
Author: Matthias Breddin <mb@lunetics.com> Sat, 2 May 2015 01:05:39 +0200
Committer: Julien Pauli <jpauli@php.net> Tue, 12 May 2015 13:52:49 +0200
Parents: 0f422fc4676142eaf25ba35ab5219d2d73d0ef87
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6bd4c3e17d298e15519aff9f2931a5c44ec0839f
Log:
Detailed information about the strftime access.log format
More descriptive usage of a custom timeformat
Changed paths:
M sapi/fpm/www.conf.in
Diff:
diff --git a/sapi/fpm/www.conf.in b/sapi/fpm/www.conf.in
index d69bcf5..e4d7748 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 %{<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"