Req #80428 [ReO]: PHP-FPM : Is there an option to suppress /ping from logs

From: Date: Fri, 28 Oct 2022 19:56:16 +0000
Subject: Req #80428 [ReO]: PHP-FPM : Is there an option to suppress /ping from logs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242699@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80428&edit=1

 ID:                 80428
 Updated by:         bukka@php.net
 Reported by:        heavy-traffic-website at yopmail dot com
 Summary:            PHP-FPM : Is there an option to suppress /ping from
                     logs
 Status:             Re-Opened
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   Debian 12
 PHP Version:        8.0.14
 Assigned To:        bukka
 Block user comment: N
 Private report:     N

 New Comment:

Looks like I forgot to close this. 

This has been implemented in https://github.com/php/php-src/commit/327bb219867b16e1161da632fba170f46692484b
and will be available in PHP 8.2.

> It would be great if this could be also implemented for the /status page

This is possible in the implemented solution: See for example
https://github.com/php/php-src/blob/327bb219867b16e1161da632fba170f46692484b/sapi/fpm/tests/config-array.phpt#L16-L17


Previous Comments:
------------------------------------------------------------------------
[2022-10-28 17:16:44] post-modern-php at yopmail dot com

It would be great if this could be also implemented for the /status page, as it may
also be used to determine the liveness or readiness of php-fpm (ex: https://github.com/renatomefi/php-fpm-healthcheck
)

------------------------------------------------------------------------
[2022-03-09 22:13:14] bukka@php.net

Although after re-reading the issue and this bug, here's not that much extra info. Anyway
doesn't really matter if it's open or not - I'm keeping a note of this and update it
here once this is fixed.

------------------------------------------------------------------------
[2022-03-09 21:40:34] bukka@php.net

Keeping this open as it contains more info and it was first.

------------------------------------------------------------------------
[2022-03-07 11:56:24] cmb@php.net

Closing as duplicate of <https://github.com/php/php-src/issues/8174>.

------------------------------------------------------------------------
[2022-03-06 14:30:07] heavy-traffic-website at yopmail dot com

The following patch has been added/updated:

Patch Name: php-fpm-ping_dontlog
Revision:   1646577007
URL:        https://bugs.php.net/patch-display.php?bug=80428&patch=php-fpm-ping_dontlog&revision=1646577007

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=80428


--
Edit this bug report at https://bugs.php.net/bug.php?id=80428&edit=1


Thread (16 messages)

« previous php.bugs (#242699) next »