File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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+
124129This returns the absolute path of the log directory of your Symfony project.
125130It'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
129134the :method: `Symfony\\ Component\\ HttpKernel\\ Kernel::getLogDir ` method. To
130135change this setting, override the ``getLogDir() `` method to return the right
131136log directory.
You can’t perform that action at this time.
0 commit comments