'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',
),
),
),
Page 1 of 1
Profiling Summary Report issue
#1
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!
#2
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
Share this topic:
Page 1 of 1

Help











