tiredofit / docker-nginx-php-fpm

Dockerized web server and interpreter image with many customizable options
MIT License
138 stars 34 forks source link

Log buffer is full, therefore, not showing log. #22

Closed CruisingwIT closed 3 years ago

CruisingwIT commented 3 years ago

Summary

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

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

CruisingwIT commented 3 years ago

Should be a feature request. Closing.