Closed tlfbrito closed 4 years ago
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:
Here is the line that disables the prefix (currently commented out):
What we could do :
COPY
the config file in the DockerfileHi 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.
I think this could be doable to fix that.
Here is where we import the config file:
Here is the line that disables the prefix (currently commented out):
What we could do :
- uncomment the line
COPY
the config file in the Dockerfile- if PHP = 7.2, remove the line (command in the Dockerfile)
Let me know that you think @mnapoli : https://github.com/brefphp/bref/pull/577
@tiagobrito I thought to propose the same solution. Thanks !
According to https://github.com/docker-library/php/issues/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: