So I have the following log configuration:
'preload'=>array('log', 'input'),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error',
'filter'=>'CLogFilter',
),
array(
'class'=>'CEmailLogRoute',
'levels'=> 'error',
'emails'=>'phoneylog@gmail.com',
'filter'=> 'CLogFilter',
),
),
),
but the problem is whenever I call:
Yii::log(‘log error’)
that does not log anything to runtime/application.log
??