Skip to content

Fix logging in shutdown function #4007

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

Closed
wants to merge 10 commits into from
Closed

Conversation

bukka
Copy link
Member

@bukka bukka commented Mar 31, 2019

This might be a fix for https://bugs.php.net/bug.php?id=77653 but needs a bit more testing. Creating PR so I can see what Travis thinks about it.

@remicollet If you could create your testing RPM from this so OP can verify in Fedora 29, that would be awesome!

@petk petk added the Bug label Apr 4, 2019
@bukka
Copy link
Member Author

bukka commented Apr 21, 2019

@remicollet Just pushed alternative solution using a new pipe for flushing log stream. If you could create RMP from this one, that would be great! Thanks!

@krakjoe
Copy link
Member

krakjoe commented May 25, 2019

@remicollet bump :)

@nikic
Copy link
Member

nikic commented May 25, 2019

@krakjoe Per the bug report, looks like this was already tested and the fix didn't work right :(

@krakjoe
Copy link
Member

krakjoe commented May 25, 2019

Missed that ...

So, closing this now then ... thanks all ...

@bukka
Copy link
Member Author

bukka commented May 26, 2019

Yeah working on a different fix. Will create a new PR once it's ready.

@bukka
Copy link
Member Author

bukka commented May 27, 2019

Re-opening as I will actually re-use it for another fix (it's just easier for me...)

@bukka bukka reopened this May 27, 2019
@bukka bukka force-pushed the fpm_log_in_shutdown_fn branch from f6f37a7 to ffad6a9 Compare May 27, 2019 15:34
@bukka
Copy link
Member Author

bukka commented May 27, 2019

Just pushed another attempt to fix that bug!

@remicollet please could you create another RPM when you have time?

@bukka bukka force-pushed the fpm_log_in_shutdown_fn branch from ffad6a9 to 84c8444 Compare June 9, 2019 19:05
@bukka bukka mentioned this pull request Jun 16, 2019
php-pulls pushed a commit that referenced this pull request Jun 17, 2019
php-pulls pushed a commit that referenced this pull request Jun 17, 2019
* PHP-7.4:
  bugs in fpm logging #4273 #4007
@bukka bukka force-pushed the fpm_log_in_shutdown_fn branch from 84c8444 to 8e34059 Compare June 29, 2019 15:50
@nikic
Copy link
Member

nikic commented Sep 8, 2019

Looks like sapi/fpm/tests/log-bwd-msg-with-nl.phpt is failing:

001+ ERROR: Unexpected line: [18-Aug-2019 18:57:21] NOTICE: Terminating ...
002+

@bukka bukka force-pushed the fpm_log_in_shutdown_fn branch from 22447ed to 821c400 Compare September 8, 2019 17:15
@bukka
Copy link
Member Author

bukka commented Sep 8, 2019

Just rebased and pushed a fix for the split fallback issue that I noticed before. It's getting close to finish - Sorry I know it's taking ages but my free time is a bit limited...

@bukka
Copy link
Member Author

bukka commented Sep 8, 2019

Think this PR should hopefully fix that nl test but needs more testing.

php-pulls pushed a commit that referenced this pull request Sep 27, 2019
This is supposed to be addressed by GH-4007, but that seems stalled
for now.
@bukka
Copy link
Member Author

bukka commented Feb 9, 2020

Closing in favour of #5161 .

@bukka bukka closed this Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants