Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 793c54d

Browse filesBrowse 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
Copy full SHA for 793c54d

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎cookbook/logging/channels_handlers.rst

Copy file name to clipboardExpand all lines: cookbook/logging/channels_handlers.rst
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.