[php-src] Issue #10671: php-fpm decorate_workers_output = no removes timestamp
| From: | schmeic | Date: | Wed, 22 Feb 2023 21:41:23 +0000 |
| Subject: | [php-src] Issue #10671: php-fpm decorate_workers_output = no removes timestamp | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243787@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10671
Author: schmeic
### Description
The following code:
```php
<?php
error_log('testing...');
```
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