1717use CleverAge \ProcessUiBundle \Controller \Admin \UserCrudController ;
1818use CleverAge \ProcessUiBundle \Entity \User ;
1919use CleverAge \ProcessUiBundle \Message \ProcessExecuteMessage ;
20- use CleverAge \ProcessUiBundle \Monolog \Handler \DoctrineProcessHandler ;
21- use CleverAge \ProcessUiBundle \Monolog \Handler \ProcessHandler ;
2220use Monolog \Level ;
2321use Symfony \Component \Config \FileLocator ;
2422use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -37,7 +35,7 @@ public function load(array $configs, ContainerBuilder $container): void
3735 $ config = $ this ->processConfiguration ($ configuration , $ configs );
3836 $ container ->getDefinition (UserCrudController::class)
3937 ->setArgument ('$roles ' , array_combine ($ config ['security ' ]['roles ' ], $ config ['security ' ]['roles ' ]));
40- $ container ->getDefinition (ProcessHandler::class )
38+ $ container ->getDefinition (' cleverage_ui_process.monolog_handler.process ' )
4139 ->addMethodCall ('setReportIncrementLevel ' , [$ config ['logs ' ]['report_increment_level ' ]]);
4240 $ container ->getDefinition (ProcessDashboardController::class)
4341 ->setArgument ('$logoPath ' , $ config ['design ' ]['logo_path ' ]);
@@ -55,11 +53,11 @@ public function prepend(ContainerBuilder $container): void
5553 'handlers ' => [
5654 'pb_ui_file ' => [
5755 'type ' => 'service ' ,
58- 'id ' => ProcessHandler::class ,
56+ 'id ' => ' cleverage_ui_process.monolog_handler.process ' ,
5957 ],
6058 'pb_ui_orm ' => [
6159 'type ' => 'service ' ,
62- 'id ' => DoctrineProcessHandler::class ,
60+ 'id ' => ' cleverage_ui_process.monolog_handler.doctrine_process ' ,
6361 ],
6462 ],
6563 ]
0 commit comments