php / php/php-src

php-fpm decorate_workers_output = no removes timestamp

Aperta
#10,671 3 commenti 3 reazioni 1 assegnatario Vedi su GitHub

@bukka ci sta già lavorando.

Dal 23/2/2023.

Feature SAPI: fpm
Lingua principale
C
Stelle
40.4k
Fork
8.1k
Merge medio
2g 13h
PR unite (30g)
96

Descrizione

Description

The following code:

<?php
error_log('testing...');
  • Note: all output is to the error_log file

Resulted in this output:

[22-Feb-2023 21:06:21] WARNING: [pool www] child 21211 said into stderr: "NOTICE: PHP message: testing..."

So in my www.conf file, I set this:

decorate_workers_output = no

Which resulted in this output:

NOTICE: PHP message: testing...

But I expected this output instead:

[22-Feb-2023 21:06:21] NOTICE: PHP message: testing...

Is there a way to keep the timestamp, but remove the rest of the worker decoration?

PHP Version

PHP 7.4.33

Operating System

Ubuntu 18.04.6

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.