Whats the proper way to enable logging in Yii Boilerplate? I tried adding the following log code in main.php without any success.
'components' => array(
…
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'logFile'=>'test.log',
'levels'=>'trace, info, error, warning',
),
)),
…
);
Does logging support need to be put in the frontend / backend, or is there a more global logging configuration? Does this include database queries?
Thanks,
James