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.
1 parent 78323d8 commit bc79b21Copy full SHA for bc79b21
cookbook/logging/channels_handlers.rst
@@ -25,7 +25,8 @@ 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, just create a new handler and configure it to log only messages
28
-from the ``security`` channel:
+from the ``security`` channel. You might add this in ``config.yml`` to log
29
+in all environments, or just ``config_prod.yml`` to happen only in ``prod``:
30
31
.. configuration-block::
32
0 commit comments