Bug #80428 [NEW]: PHP-FPM : Is there an option to suppress /ping from logs
| From: | heavy-traffic-website at yopmail dot com | Date: | Fri, 27 Nov 2020 01:43:02 +0000 |
| Subject: | Bug #80428 [NEW]: PHP-FPM : Is there an option to suppress /ping from logs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-230658@lists.php.net to get a copy of this message | ||
From: heavy-traffic-website at yopmail dot com
Operating system: Debian 11
PHP version: 8.0.0
Package: *Configuration Issues
Bug Type: Bug
Bug description:PHP-FPM : Is there an option to suppress /ping from logs
Description:
------------
I have PHP-FPM, I want generate access logs but, not /ping logs when :
ping.path = /ping
I am looking for an option to disable /ping access from the logs,
because I have some haproxy servers that ping and it produce quantity of
logs i don't need.
May a new config entry could prevent it ?
suggestion ( ping.log = no ) [default]
$> tail /var/log/php8/mypool/access.log
- - 27/Nov/2020:02:12:50 +0100 "GET /ping" 200 - 0.241 2048 0.00%
- - 27/Nov/2020:02:12:54 +0100 "GET /ping" 200 - 0.197 2048 0.00%
- - 27/Nov/2020:02:12:57 +0100 "GET /ping" 200 - 0.238 2048 0.00%
- - 27/Nov/2020:02:12:58 +0100 "GET /ping" 200 - 0.309 2048 0.00%
- - 27/Nov/2020:02:13:01 +0100 "GET /ping" 200 - 0.258 2048 0.00%
- - 27/Nov/2020:02:13:04 +0100 "GET /ping" 200 - 0.190 2048 0.00%
- - 27/Nov/2020:02:13:04 +0100 "GET /ping" 200 - 0.166 2048 0.00%
--
Edit bug report at https://bugs.php.net/bug.php?id=80428&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80428&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80428&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80428&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80428&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80428&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80428&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80428&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80428&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80428&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80428&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80428&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80428&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80428&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80428&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80428&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80428&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80428&r=mysqlcfg