php / php/php-src

php-fpm decorate_workers_output = no removes timestamp

オープン
#10,671 コメント 3 件 リアクション 3 件 担当者 1 名 GitHub で見る

@bukka がすでに取り組んでいます。

2023年2月23日 から。

Feature SAPI: fpm
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
96

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。