8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
param()
1 parent b1348c1 commit 497a086Copy full SHA for 497a086
logging/channels_handlers.rst
@@ -84,7 +84,7 @@ from the ``security`` channel. The following example does that only in the
84
if ('prod' === $container->env()) {
85
$monolog->handler('security')
86
->type('stream')
87
- ->path('%kernel.logs_dir%/security.log')
+ ->path(param('kernel.logs_dir') . \DIRECTORY_SEPARATOR . 'security.log')
88
->channels()->elements(['security']);
89
90
$monolog->handler('main')
0 commit comments