Add logger SQL
parent
f9f1a5726a
commit
51ca4f7325
|
@ -15,6 +15,7 @@ return array(
|
||||||
'service_manager' => array(
|
'service_manager' => array(
|
||||||
'factories' => array(
|
'factories' => array(
|
||||||
'doctrine.cache.mycache' => 'MonarcCore\Service\DoctrineCacheServiceFactory',
|
'doctrine.cache.mycache' => 'MonarcCore\Service\DoctrineCacheServiceFactory',
|
||||||
|
'doctrine.monarc_logger' => 'MonarcCore\Service\DoctrineLoggerFactory',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'doctrine' => array(
|
'doctrine' => array(
|
||||||
|
@ -92,6 +93,7 @@ return array(
|
||||||
'string_functions' => array(),
|
'string_functions' => array(),
|
||||||
'numeric_functions' => array(),
|
'numeric_functions' => array(),
|
||||||
'second_level_cache' => array(),
|
'second_level_cache' => array(),
|
||||||
|
'sql_logger' => 'doctrine.monarc_logger',
|
||||||
),
|
),
|
||||||
'orm_cli' => array(
|
'orm_cli' => array(
|
||||||
'metadata_cache' => 'mycache',
|
'metadata_cache' => 'mycache',
|
||||||
|
@ -106,6 +108,7 @@ return array(
|
||||||
'string_functions' => array(),
|
'string_functions' => array(),
|
||||||
'numeric_functions' => array(),
|
'numeric_functions' => array(),
|
||||||
'second_level_cache' => array(),
|
'second_level_cache' => array(),
|
||||||
|
'sql_logger' => 'doctrine.monarc_logger',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue