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.
1 parent 4d52670 commit a4aa344Copy full SHA for a4aa344
logging/channels_handlers.rst
@@ -25,7 +25,9 @@ Switching a Channel to a different Handler
25
26
Now, suppose you want to log the ``security`` channel to a different file.
27
To do this, create a new handler and configure it to log only messages
28
-from the ``security`` channel:
+from the ``security`` channel.
29
+You might add this in `config/packages/monolog.yaml` to log in all environments,
30
+or just `config/packages/prod/monolog.yaml` to happen only in prod:
31
32
.. configuration-block::
33
0 commit comments