I am not able to see the log files in Yii framwork. By default it saves in “protected/runtime”. Here is my config in main:
'log'=>array(
'class'=>'CLoCFileLogRoutegRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning, info',
'categories'=>'system.*',
))),
and this is how I’m logging:
Yii::log("Index Checkout", "profile", 'system.web.CController');
Yii::trace('IndexCheckout', 'system.web.CController');
Not getting any error but can’t find any log file.
Any idea ? Thanks.
May be something wrong name with your log class
CLoCFileLogRoutegRouter. It should beCLogRouter