php-fpm decorate_workers_output = no removes timestamp
Open
@bukka is already working on this.
Since Feb 23, 2023.
Feature
SAPI: fpm
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.