<?php
protected function beforeAction($action)
{
        foreach (Yii::app()->log->routes as $route)
        {
                if ($route instanceof CWebLogRoute)
                {
                        $route->enabled = false;
                }
        }
        return true;
}