Commit e33dbfa
committed
feature symfony#58564 [HttpKernel] Let Monolog handle the creation of log folder for improved readonly containers handling (shyim)
This PR was merged into the 7.3 branch.
Discussion
----------
[HttpKernel] Let Monolog handle the creation of log folder for improved readonly containers handling
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
When running Symfony in a Container in readonly mode. Symfony checks if the var/log is writeable and it's not because of readonly FS.
I can set env `APP_LOG_DIR=/tmp/log`, to fix the issue. But this folder will be never used as my monolog only outputs to stdout.
Therefore I would suggest removing this completely and let monolog create the folder, only when the user configuration wants this
Commits
-------
c79d340 [HttpKernel] Let Monolog create the log folder1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
0 commit comments