Skip to content

Commit 793c54d

Browse files
committed
minor symfony#6656 Clarify usage of handler channel configuration (shkkmo)
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes symfony#6656). Discussion ---------- Clarify usage of handler channel configuration See: https://github.com/symfony/monolog-bundle/blob/master/DependencyInjection/MonologExtension.php#L88 I believe this applies to all versions of Symfony, so should be merged into the branches of documentation for all of them. Commits ------- 9b4d123 Clarify usage of handler channel configuration
2 parents beb539a + 9b4d123 commit 793c54d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbook/logging/channels_handlers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ in all environments, or just ``config_prod.yml`` to happen only in ``prod``:
9595
),
9696
));
9797
98+
.. caution::
99+
100+
The 'channels' configuration only works for top level handlers. Handlers that are nested inside a Group, Buffer, Filter, FingersCrossed, or other such Handler will ignore this configuration and will process every message passed to them.
101+
98102
YAML Specification
99103
------------------
100104

0 commit comments

Comments
 (0)