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 Fatal error: Allowed memory size exhausted when log directory not writable #1263
Comments
Thanks for sharing but I am not sure what we can do here so closing.. |
Is it not possible to throw an error saying the location to write the log
to is not writable?
…On Wed, 26 Dec 2018, 15:28 Jordi Boggiano ***@***.*** wrote:
Closed #1263 <#1263>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1263 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABNXygprhj5I6kfuJqKbR188BVva_ZbOks5u84eogaJpZM4ZYAyz>
.
|
We do at https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/StreamHandler.php#L107-L110 so I am not sure what issue you encountered. |
I'm on the road today, but I'll try to figure it out. Thx
On 26 Dec 2018 15:42, "Jordi Boggiano" <notifications@github.com> wrote:
We do at
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/StreamHandler.php#L107-L110
so I am not sure what issue you encountered.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1263 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABNXygqfLQy5vbfMEwlScAazgB6q20tOks5u84rSgaJpZM4ZYAyz>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Following got me down the rabbit hole ... I've build a docker image for our php symfony web app in production. While everything worked perfectly in development (same base image), it didn't work in production. Immediately got following error:
Initially I thought it was related to a too low memory settings in php ini file, but after some hours of trial and error I realized I forgot to make the var/log directory writable ...
It seems, when the log directory is not writable a memory leak occurs ...
Not sure if it's an issue in monolog per-se, but I wanted to share this as it could prevent others from wasting time on this.
Cheers
The text was updated successfully, but these errors were encountered: