Hi,
I'm trying to enable logs when mail failure. But i've changed my config.php file adding the logging configuration and didn't work. Can anybody help me?
Thanks.
Those are the lines added to the config.php file.
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'CFileLogRoute',
'levels' => 'warning, trace',
),
array(
'class'=>'CEmailLogRoute',
'levels'=>'error',
'emails'=>'This email address is being protected from spambots. You need JavaScript enabled to view it.',
),
),
),
I'm trying to enable logs when mail failure. But i've changed my config.php file adding the logging configuration and didn't work. Can anybody help me?
Thanks.
Those are the lines added to the config.php file.
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'CFileLogRoute',
'levels' => 'warning, trace',
),
array(
'class'=>'CEmailLogRoute',
'levels'=>'error',
'emails'=>'This email address is being protected from spambots. You need JavaScript enabled to view it.',
),
),
),