Closed msobkowiak-olx closed 6 months ago
This will not work IMO as the failure to write might be turned into an exception by some frameworks/apps, and also the failure is detected, file reopened on next log, but you still lose one log entry, so not great.
To address https://github.com/Seldaek/monolog/issues/1860 - when fwrite() fails - only then recreate the stream resource.