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
Oliver Burkill
shared this idea
-
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