From f711cc5077141854e54a0417394f1059870e6c8c Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Wed, 1 Feb 2017 11:09:21 +0100 Subject: [PATCH] Doctrine conf > add logger for debug --- config/autoload/global.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/autoload/global.php b/config/autoload/global.php index e5fc794..a5451e4 100644 --- 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( @@ -93,6 +94,7 @@ return array( 'string_functions' => array(), 'numeric_functions' => array(), 'second_level_cache' => array(), + 'sql_logger' => 'doctrine.monarc_logger', ), 'orm_cli' => array( 'metadata_cache' => 'mycache', @@ -107,6 +109,7 @@ return array( 'string_functions' => array(), 'numeric_functions' => array(), 'second_level_cache' => array(), + 'sql_logger' => 'doctrine.monarc_logger', ), ), ),