php / php/php-src

php-fpm decorate_workers_output = no removes timestamp

未关闭
#10,671 3 条评论 3 个 reaction 已指派 1 人 在 GitHub 查看

@bukka 已经在做这个了。

开始于 2023年2月23日。

Feature SAPI: fpm
主要语言
C
星标
40.4k
派生
8.2k
平均合并
2 天 15 小时
30 天内合并 PR
103

描述

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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。