Profiling Summary Report issue

main.php has been configured as below, but Profiling Summary Report not displayed in web page, seems processLogs of CProfileLogRoute not be called , however, trace logs displayed in web page, can anyone help on it? thanks a lot!




        'preload' => array('log'),

        'log' => array(

            'class' => 'CLogRouter',

            'routes' => array(

                array(

                    'class' => 'CFileLogRoute',

                    'levels' => 'error, warning',

                ),

                array(

                    'class' => 'CWebLogRoute',

                    'levels' => 'trace',

                ),

                array(

                    'class' => 'CProfileLogRoute',

                    'report' => 'summary',

                    'levels' => 'profile',

                ),

            ),

        ),



Is YII_DEBUG enabled? CWebLogRoute will work with or without it, but CProfileLogRoute only works with YII_DEBUG = true