Skip to content

Commit d78c7db

Browse files
committed
Tweak
1 parent 5be53eb commit d78c7db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

logging.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ disk write permissions.
9494

9595
If you prefer to store production logs in a file, set the ``path`` option of your
9696
log handler(s) to the desired file path (e.g. ``var/log/prod.log``). This directory
97-
is created by Monolog if needed, so Symfony applications running on read-only
98-
filesystems don't need to create it manually or make it writable.
97+
is created by Monolog if it doesn't exist. If your Symfony application runs on a
98+
read-only filesystem, set the path to an external writable directory (e.g.
99+
``APP_LOG_DIR=/tmp/log``).
99100

100101
.. versionadded:: 7.3
101102

0 commit comments

Comments
 (0)