php-fpm decorate_workers_output = no removes timestamp
Offen
@bukka arbeitet bereits daran.
Seit 23.2.2023.
Feature
SAPI: fpm
- Vorherrschende Sprache
- C
- Sterne
- 40.4k
- Forks
- 8.1k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 96
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.