You can read in official YII documentation about this features. Gentics Portal.Node PHP is using them in regular way. Logging/Debugging/Profiling
1 Enable/Disable profiling
Gentics Portal.Node PHP by default supports profiling of application data:
- Database requests
- GCC API requests
- Page execution time
- ‘_GET’, ‘_POST’, ‘_FILES’, ‘_SESSION’, ‘_COOKIES’ vars
- 1-3 controlled by profilerLog
- 4 controlled by webLog
To enable(disable) profile output on each page add(remove) the following lines in configuration
'components'=> array( ...................... 'log'=> array( ...................... 'routes'=> array( ...................... //profiler, showed execution time 'profilerLog' => array( 'class' => 'CProfileLogRoute', 'categories' => 'system.db.*, system.db_auth.*, test', ), //profile '_GET', '_POST', '_FILES', //'_SESSION', '_COOKIES' vars 'webLog' => array( 'class' => 'CWebLogRoute', 'levels' => 'trace', 'filter' => array( 'class' => 'CLogFilter', 'logVars' => array('_GET', '_POST', '_FILES', '_SESSION', '_COOKIES'), ), ), ) ) )