-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP-FPM is adding a prefix warning to stderr #432
Comments
Is there a timeline for this? Will the decorate_workers_output option be changed upon release of PHP 7.4? |
@footballencarta it is possible that the PHP 7.4 build forces us to define separate build processes per version. If we do that, then it's easier to solve this problem. But no timeline or no guarantee that this happens, unfortunately. |
Is there anything that we can do to avoid this on PHP 7.4? Maybe a extension layer? |
I think this could be doable to fix that. Here is where we import the config file: bref/runtime/layers/fpm/Dockerfile Line 6 in 10aca10
Here is the line that disables the prefix (currently commented out): bref/runtime/layers/fpm/php-fpm.conf Line 20 in b7db4c4
What we could do :
|
Hi everyone, Any news about this issue ? Is there a timeline to solve it ? Thanks |
@alepieser nothing new AFAIK. Personally I haven't prioritized this issue over other things. Maybe someone else (or you) could try to implement a feature to solve that? I tried to add some pointers in my previous comment, that may help. |
|
@TiagoBrito I thought to propose the same solution. Thanks ! |
According to docker-library/php#207 this is a known issue, but in PHP 7.3 seems to have a solution according to https://www.php.net/ChangeLog-7.php#7.3.0 using
decorate_workers_output
.Motivation:
This prefix will make very difficult to process the log entry and correctly parse the log entry.
Example:
The text was updated successfully, but these errors were encountered: