[TYPO3-dev] DBAL logging

Christian Welzel gawain at camlann.de
Tue Jun 27 17:14:38 CEST 2006


Martin Kutschker schrieb:
> Hi!
> 
> I cannot get the DBAL logging working. Nothing is logged at all. In the 

You set up your config the wrong way.
This is correct and heavily tested...

$TYPO3_CONF_VARS['EXTCONF']['dbal']['debugOptions'] = array(
        'enabled'=>TRUE,
        'printErrors'=>TRUE,
        'EXPLAIN'=>0,
        'parseQuery'=>1,
        'joinTables'=>1
);


> $TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
>  '_DEFAULT' => array (
>  ),
>  'debugOptions' => array (
>  ),
> );

'debugOptions' is not a subkey of handlercfg but a subkey of
'dbal'.

-- 
Viele Grüße, Christian Welzel

WIR SIND UMGEZOGEN!
AB SOFORT NEUE ANSCHRIFT IM HERZEN DER DRESDNER ALTSTADT:

schech.net | Visuelle Kommunikation
Wallstraße 13 · 01067 Dresden
Fon +49-351-8361445
Fax +49-351-8361446
http://www.schech.net




More information about the TYPO3-dev mailing list