From 51ca4f73251c1c37bfb1e7e5e1a44c98599187de Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Wed, 1 Feb 2017 11:28:46 +0100 Subject: [PATCH] Add logger SQL --- config/autoload/global.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/autoload/global.php b/config/autoload/global.php index fe5ecf0..85ac35a 100755 --- a/config/autoload/global.php +++ b/config/autoload/global.php @@ -15,6 +15,7 @@ return array( 'service_manager' => array( 'factories' => array( 'doctrine.cache.mycache' => 'MonarcCore\Service\DoctrineCacheServiceFactory', + 'doctrine.monarc_logger' => 'MonarcCore\Service\DoctrineLoggerFactory', ), ), 'doctrine' => array( @@ -92,6 +93,7 @@ return array( 'string_functions' => array(), 'numeric_functions' => array(), 'second_level_cache' => array(), + 'sql_logger' => 'doctrine.monarc_logger', ), 'orm_cli' => array( 'metadata_cache' => 'mycache', @@ -106,6 +108,7 @@ return array( 'string_functions' => array(), 'numeric_functions' => array(), 'second_level_cache' => array(), + 'sql_logger' => 'doctrine.monarc_logger', ), ), ),