Skip to content

Commit c091d99

Browse files
committed
Minor tweaks
1 parent d2ae20d commit c091d99

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

logging/handlers.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ even better performance and fault tolerance, a proper `ELK stack`_ is recommende
2222

2323
To use it, declare it as a service:
2424

25-
2625
.. configuration-block::
2726

2827
.. code-block:: yaml
@@ -57,8 +56,7 @@ To use it, declare it as a service:
5756
5857
$container->register(ElasticsearchLogstashHandler::class);
5958
60-
Then reference it in monolog configuration:
61-
59+
Then reference it in the Monolog configuration:
6260

6361
.. configuration-block::
6462

@@ -94,8 +92,9 @@ Then reference it in monolog configuration:
9492
9593
.. code-block:: php
9694
97-
use Symfony\Bridge\Monolog\Handler\ElasticsearchLogstashHandler;
9895
// config/packages/prod/monolog.php
96+
use Symfony\Bridge\Monolog\Handler\ElasticsearchLogstashHandler;
97+
9998
$container->loadFromExtension('monolog', [
10099
'handlers' => [
101100
'es' => [

0 commit comments

Comments
 (0)