cannot turn off debug in controller

:unsure:

i want to do some pdf excel file output. but those error notice tracing from yii cannot be turn on temporally only in controller?

and static function to call?

do you simply want to turn off Yii log output? Then this will help you

http://www.yiiframework.com/forum/index.php/topic/15110-disabling-cweblogroute-inside-controller-action/