php-fpm: does this work for logging

This commit is contained in:
Starbeamrainbowlabs 2023-12-16 14:09:45 +00:00
parent 0687924c8d
commit e38c3343c2
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,8 +1,8 @@
pid = /run/php-fpm.pid pid = /run/php-fpm.pid
; Log to stdout/stderr 'cause Nomad ; Log to stdout/stderr 'cause Nomad
; Looks like this has to be split across [www] here.... ewww
; ....we really need to replace Nomad >_< ; ....we really need to replace Nomad >_<
access.log = /proc/self/fd/2
error_log = /proc/self/fd/2 error_log = /proc/self/fd/2
[www] [www]
@ -16,3 +16,5 @@ pm.max_children = 8
pm.start_servers = 2 pm.start_servers = 2
pm.min_spare_servers = 1 pm.min_spare_servers = 1
pm.max_spare_servers = 2 pm.max_spare_servers = 2
access.log = /proc/self/fd/2