Skip to content

Commit d3694bd

Browse files
committed
Reword
1 parent 1989ba9 commit d3694bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logging/channels_handlers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +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.
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:
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:
3131

3232
.. configuration-block::
3333

0 commit comments

Comments
 (0)