Skip to content

Commit b6cef45

Browse files
Set logger correctly for ManagerFactory (ongr-io#911)
1 parent f42ae00 commit b6cef45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DependencyInjection/ONGRElasticsearchExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function load(array $configs, ContainerBuilder $container)
5555
new Reference('es.metadata_collector'),
5656
new Reference('es.result_converter'),
5757
$config['profiler'] ? new Reference('es.tracer') : null,
58+
new Reference('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE),
5859
]
5960
);
6061
$definition->addMethodCall('setEventDispatcher', [new Reference('event_dispatcher')]);

0 commit comments

Comments
 (0)