Detailed error log in PHP-FPM

0

I'm looking at the PHP-FPM error log but it does not tell me much information about what's going on.

See:

[27-Oct-2018 11:51:04] NOTICE: [pool www] child 31981 started
[27-Oct-2018 11:51:04] WARNING: [pool www] child 31947 exited on signal 15 (SIGTERM) after 320.015262 seconds from start
[27-Oct-2018 11:51:04] NOTICE: [pool www] child 31982 started
[27-Oct-2018 11:51:04] WARNING: [pool www] child 31951 exited on signal 15 

I would like to know if there is any way I can configure it to get more details when an error occurs, for example, filename, line and etc.

My php-fpm7.1.conf

[global]
pid = /var/run/php-fpm/php-fpm-7.1.pid

error_log = /home/ec2-user/nginx/logs/php-error.log

;syslog.facility = daemon

;syslog.ident = php-fpm

;log_level = notice

;emergency_restart_threshold = 0

;emergency_restart_interval = 0

;process_control_timeout = 0

;process.max = 128

;process.priority = -19

daemonize = yes

;rlimit_files = 1024

;rlimit_core = 0

;events.mechanism = epoll

;systemd_interval = 10
    
asked by anonymous 27.10.2018 / 17:32

0 answers