diff --git a/docker/supervisord.conf b/docker/supervisord.conf index b46bbce..f723f44 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -17,11 +17,16 @@ autorestart=true priority=20 stdout_logfile=/var/log/fpm.log stderr_logfile=/var/log/fpm_error.log -stdout_logfile_maxbytes=20MB +stdout_logfile_maxbytes=0 stdout_logfile_backups=5 -stderr_logfile_maxbytes=20MB +stderr_logfile_maxbytes=0 stderr_logfile_backups=5 +[program:php-fpm-log] +command=tail -f /var/log/fpm.log /var/log/fpm_error.log +stdout_events_enabled=true +stderr_events_enabled=true + [program:nginx] command=/usr/sbin/nginx -g "daemon off;" -c /etc/nginx/nginx.conf autostart=true