Skip to content

Commit bc79b21

Browse files
committed
Adding one more note about why we're in config.yml
1 parent 78323d8 commit bc79b21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbook/logging/channels_handlers.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Switching a Channel to a different Handler
2525

2626
Now, suppose you want to log the ``security`` channel to a different file.
2727
To do this, just create a new handler and configure it to log only messages
28-
from the ``security`` channel:
28+
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``:
2930

3031
.. configuration-block::
3132

0 commit comments

Comments
 (0)