Bug #79776 [Opn]: php-fpm pool access log not shows client IP Address even if it is configurated

From: Date: Fri, 03 Jul 2020 18:34:24 +0000
Subject: Bug #79776 [Opn]: php-fpm pool access log not shows client IP Address even if it is configurated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227791@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79776&edit=1 ID: 79776 User updated by: ijb_green at hotmail dot com Reported by: ijb_green at hotmail dot com Summary: php-fpm pool access log not shows client IP Address even if it is configurated Status: Open Type: Bug Package: *Configuration Issues Operating System: Docker on Ubuntu 18.04 PHP Version: 7.4.7 Block user comment: N Private report: N New Comment: The output: - - 30/Jun/2020:18:15:17 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.002 2048 0.00% - - 30/Jun/2020:18:15:22 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 0.610 2048 0.00% - - 30/Jun/2020:18:23:19 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.827 2048 0.00% - - 30/Jun/2020:18:23:20 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 1.058 2048 0.00% - - 30/Jun/2020:18:23:24 -0500 "GET /index.php" 200 /server/phpsrv/site/index.php 0.294 2048 0.00% Previous Comments: ------------------------------------------------------------------------ [2020-07-03 18:32:38] ijb_green at hotmail dot com This is the configuration entry ; 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" ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%" access.format = "%R - %u %t \"%m %r\" %s" ------------------------------------------------------------------------ [2020-07-03 18:30:15] ijb_green at hotmail dot com Description: ------------ When i configure the %R format escape in access.format format in my pool configuration file in the file only show a hypen with no ip address Expected result: ---------------- IP of the client in the access log Actual result: -------------- - ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79776&edit=1

« previous php.bugs (#227791) next »