Skip to content

Commit df21b9b

Browse files
committed
Merge branch '4.4'
* 4.4: Add missing deprecated directive for kernel.log_dir parameter Correct log dir parameter
2 parents e10d325 + 69f5df4 commit df21b9b

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
@@ -103,11 +103,16 @@ Log Directory
103103

104104
**type**: ``string`` **default**: ``$this->rootDir/log``
105105

106+
.. deprecated:: 4.2
107+
108+
The ``kernel.log_dir`` parameter was deprecated in Symfony 4.2,
109+
use ``kernel.logs_dir`` instead.
110+
106111
This returns the absolute path of the log directory of your Symfony project.
107112
It's calculated automatically based on the current
108113
:ref:`environment <configuration-environments>`.
109114

110-
This value is exposed via the ``kernel.log_dir`` configuration parameter and
115+
This value is exposed via the ``kernel.logs_dir`` configuration parameter and
111116
the :method:`Symfony\\Component\\HttpKernel\\Kernel::getLogDir` method. To
112117
change this setting, override the ``getLogDir()`` method to return the right
113118
log directory.

0 commit comments

Comments
 (0)