php-fpm: try to fix hidden error logs
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 4m35s
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 4m35s
This commit is contained in:
@@ -45,6 +45,9 @@ slowlog = /var/log/php/www-slow.log
|
||||
; This ensures that any `echo` or `var_dump` calls from workers are captured in the container logs.
|
||||
catch_workers_output = yes
|
||||
|
||||
; Allow worker processes to write to stderr, which is essential for container logging.
|
||||
decorate_workers_output = no
|
||||
|
||||
; We are logging errors to stderr in zz-hardening.ini, so we can disable the FPM access log
|
||||
; to avoid redundant logging and improve performance. Nginx should handle access logging.
|
||||
; access.log = /var/log/php/www-access.log
|
||||
|
||||
Reference in New Issue
Block a user