-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove log decoration from workers output #725
Conversation
@yosifkit as far as I saw the build failures are not related to the changes I've made, should I do something here? |
No, the build is fine. The one problem I see is that these changes will be lost as soon as Would you like to take that on or would you like me to take over from here? Also, thanks for the contribution! Glad |
ac08b45
to
e8f6c96
Compare
@yosifkit I feel a bit dumb for not reading the Maybe we could add a simple
I think everything should be fine now but please let me know if there's anything else to change.
My pleasure, I'm also pretty eager to clean up my php-fpm logs 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. cc @tianon
We would welcome a helpful contributing.md, if you have the time. (thanks!)
As of PHP 7.3 we finally use STDOUT and STDERR properly in our containers, this disables the '[pool %s] child %d said into %s: \"%s\' format. More info: - php/php-src#2458 - https://bugs.php.net/bug.php?id=71880 - docker-library#207
e8f6c96
to
87c85e4
Compare
- `drupal`: 8.5.8, 7.60, 8.6.2 - `ghost`: 2.2.4 - `matomo`: 3.6.1 - `openjdk`: 11.0.1 - `php`: remove FPM log decoration on 7.3+ (docker-library/php#725) - `postgres`: 11.0 GA, 10.5-2.pgdg90+1 - `redis`: EOL 3.2, 5.0.0 GA - `ruby`: 2.5.3, 2.3.8, 2.4.5
@lcobucci @tianon @yosifkit Nice that this got integrated! I'm the author of these changes in FPM and wanted suggest to also bum the |
@bukka What about 502 errors on nginx because of 2048 log size limit ? I updated some images from php 7.0 to 7.4, and now with default conf I experience 502 if I want to error_log a Had to edit Is this an expected behavior ? |
I use Laravel with a docker-compose setup and when I use the errorlog logging channel (Laravel logging configuration), I get 502 on requests that have exceptions. It seems to be aligned with what @wollanup is saying about throwable. From nginx I kept having As soon as I changed the logging channel to something else, it started working again (proper 500 error) |
As of PHP 7.3 we can finally use STDOUT and STDERR properly in our containers, this disables the
[pool %s] child %d said into %s: \"%s\
format.More info: