HomePhorge
Diffusion kolab 48e496b2a3f0

Add fpm config to log to stdout

Description

Add fpm config to log to stdout

in fpm.conf:
[global]
error_log = /proc/self/fd/2
log_level = error
log_buffering = no

in www.conf:
catch_workers_output = yes
decorate_workers_output = no
php_flag[display_errors] = off
php_admin_flag[log_errors] = on
php_admin_flag[fastcgi.logging] = off

Inspired by https://phil.lavin.me.uk/2023/02/php-fpm-log-errors-to-stderr-for-docker/

Details

Provenance
mollekopfAuthored on Oct 16 2023, 10:02 PM
mollekopfPushed on Oct 21 2023, 1:32 AM
Parents
rK7a2680509d79: force https for the chwala api
Branches
Unknown
Tags
Unknown
Build Status
Buildable 44518