Skip to content

Commit 2c93aa5

Browse files
committed
bug #4147 [Cookbook][Logging] add missing Monolog handler type in XML config (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Logging] add missing Monolog handler type in XML config | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Omitting the type of a handler leads to an error: > Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: The child node "type" at path "monolog.handlers.swift" must be configured. Commits ------- dc33b0c add missing Monolog handler type in XML config
2 parents 041105c + dc33b0c commit 2c93aa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbook/logging/monolog_email.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ it is broken down.
5656
/>
5757
<monolog:handler
5858
name="swift"
59+
type="swift_mailer"
5960
from-email="error@example.com"
6061
to-email="error@example.com"
6162
subject="An Error Occurred!"

0 commit comments

Comments
 (0)