Skip to content

Commit 6d5f268

Browse files
committed
bug #12100 Fix custom logging formatter (jjanvier)
This PR was merged into the 3.4 branch. Discussion ---------- Fix custom logging formatter When I use the '@' in the service name, I get this kind of error: ``` In CheckExceptionOnInvalidReferenceBehaviorPass.php line 31: The service "monolog.handler.deprecation" has a dependency on a non-existent service "@monolog.formatter.deprecation". ``` Commits ------- b3828cd Fix custom logging formatter
2 parents 1db69aa + b3828cd commit 6d5f268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging/formatter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ configure your handler to use it:
1919
file:
2020
type: stream
2121
level: debug
22-
formatter: '@monolog.formatter.json'
22+
formatter: 'monolog.formatter.json'
2323
2424
.. code-block:: xml
2525

0 commit comments

Comments
 (0)