I am unsure is that is a Nginx or PHP-FPM setting, but long log lines are getting truncated. Is there a setting to increase the max log line length?
Nginx/PHP-FPM long log lines get truncated
fastcgifcginginxPHPphp-fpm
Related Topic
- Nginx – Optimize NGinx + PHP-FPM
- Nginx – chrooting php-fpm with nginx
- Nginx/FPM/PHP all php files say ‘File not found.’
- Nginx – php-fpm returning empty response to nginx
- Is PHP Option ‘cgi.fix_pathinfo’ Dangerous with Nginx + PHP-FPM?
- Nginx php-fpm how to disable log warnings
- PHP-FPM Log Buffer Full – Access Log Request Truncated
Best Answer
The limit of 1024 characters is hard-coded in php-fpm not nginx.
If you want to go over 2048 characters you need to re-compiled both nginx and php-fpm, else only php-fpm.
There is a full solution with patches here for 8192 characters: https://forums.freebsd.org/threads/56543/