Yii Framework Forum: Profiling Summary Report issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Profiling Summary Report issue Rate Topic: -----

#1 User is offline   ben1978 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 23-January 11

Posted 25 February 2012 - 11:16 AM

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',
                ),
            ),
        ),

0

#2 User is offline   ajsharma 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 24-October 10

Posted 18 January 2013 - 01:38 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users