diff --git a/logging/handlers.rst b/logging/handlers.rst index 1682040e504..25e3b27d740 100644 --- a/logging/handlers.rst +++ b/logging/handlers.rst @@ -28,7 +28,8 @@ To use it, declare it as a service: # config/services.yaml services: - Symfony\Bridge\Monolog\Handler\ElasticsearchLogstashHandler: ~ + Symfony\Bridge\Monolog\Handler\ElasticsearchLogstashHandler: + autowire: false .. code-block:: xml