Bug #79776 [Fbk->NoF]: php-fpm pool access log not shows client IP Address even if it is configurated
| From: | php-bugs at lists dot php dot net | Date: | Sun, 12 Jul 2020 04:22:04 +0000 |
| Subject: | Bug #79776 [Fbk->NoF]: 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-227975@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
Updated by: php-bugs@lists.php.net
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: Feedback
+Status: No Feedback
Type: Bug
Package: FPM related
Operating System: Docker on Ubuntu 18.04
PHP Version: 7.4.7
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2020-07-03 18:54:34] requinix@php.net
Are you connecting over a Unix socket or TCP/IP? Use an IP address in the URL.
------------------------------------------------------------------------
[2020-07-03 18:34:24] ijb_green at hotmail dot com
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%
------------------------------------------------------------------------
[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