Allow configuration of the php-fpm slow log
For debugging PHP-FPM can log slow scripts. It would be great if you could manage this feature via Plesk.
28
votes
![](https://secure.gravatar.com/avatar/f7e0f3ad339469722a6132fa07652159?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Gabriel Tavares commented
Just add the following under "PHP settings" on the domain page:
[php-fpm-pool-settings]
slowlog = /var/www/vhosts/WWW.EXAMPLE.COM/logs/slow.log
request_slowlog_timeout = 5s