dnaman
(Haji Naman)
1
Dear All,
i need to know how to disable writing error log to file ?
the current file is in protected/runtime/application.log
i need Yii still show every errors on my application, but not to write this error to application.log…
sorry for my bad english…
thanks all
Keith
(Kburton)
2
In your config, disable the file log and enable the web log:
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
/*
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
*/
array(
'class'=>'CWebLogRoute',
),
),
),