The php-fpm log is not showing since the log_limit buffer is using the default 1024 characters. When the log exceeds that limit The access log request is truncated.
Steps to reproduce
View logs that are being reported in php-fpm.
What is the expected correct behavior?
Logs should contain the proper information. See the current output in the Environment/logs section below.
Relevant logs and/or screenshots
N/A
Environment
Image version / tag: tiredofit/wordpress Built based on: tiredofit/nginx-php-fpm:alpine-8.0
Host OS: archlinux
Any logs | docker-compose.yml
Logs output:
[14-Oct-2021 10:54:57] WARNING: [pool www] child 32024 said into stderr: "NOTICE: the log buffer is full (1024). The access log request has been truncated."
Summary
The php-fpm log is not showing since the
log_limit buffer
is using the default 1024 characters. When the log exceeds that limitThe access log request is truncated
.Steps to reproduce
View logs that are being reported in php-fpm.
What is the expected correct behavior?
Logs should contain the proper information. See the current output in the Environment/logs section below.
Relevant logs and/or screenshots
N/A
Environment
Image version / tag: tiredofit/wordpress Built based on: tiredofit/nginx-php-fpm:alpine-8.0
Host OS: archlinux
Any logs | docker-compose.yml
Logs output: [14-Oct-2021 10:54:57] WARNING: [pool www] child 32024 said into stderr: "NOTICE: the log buffer is full (1024). The access log request has been truncated."Possible fixes
Adding log_limit in php-fpm.conf to be greater than 1024. eg.
log_limit = 2048
reference: https://www.php.net/manual/en/install.fpm.configuration.php