Skip to content

Commit 9dbc2e5

Browse files
committed
Merge branch '5.1'
* 5.1: Reword Improve doc about log channel and env
2 parents 6c5a809 + 9cdf9d9 commit 9dbc2e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

logging/channels_handlers.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ 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, create a new handler and configure it to log only messages
28-
from the ``security`` channel:
28+
from the ``security`` channel. The following example does that only in the
29+
``prod`` :ref:`configuration environment <configuration-environments>` but you
30+
can do it in any (or all) environments:
2931

3032
.. configuration-block::
3133

0 commit comments

Comments
 (0)