Skip to content

Commit 69f5df4

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Add missing deprecated directive for kernel.log_dir parameter Correct log dir parameter
2 parents 481f5da + da1714c commit 69f5df4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

reference/configuration/kernel.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,16 @@ Log Directory
121121

122122
**type**: ``string`` **default**: ``$this->rootDir/log``
123123

124+
.. deprecated:: 4.2
125+
126+
The ``kernel.log_dir`` parameter was deprecated in Symfony 4.2,
127+
use ``kernel.logs_dir`` instead.
128+
124129
This returns the absolute path of the log directory of your Symfony project.
125130
It's calculated automatically based on the current
126131
:ref:`environment <configuration-environments>`.
127132

128-
This value is exposed via the ``kernel.log_dir`` configuration parameter and
133+
This value is exposed via the ``kernel.logs_dir`` configuration parameter and
129134
the :method:`Symfony\\Component\\HttpKernel\\Kernel::getLogDir` method. To
130135
change this setting, override the ``getLogDir()`` method to return the right
131136
log directory.

0 commit comments

Comments
 (0)