5 min read

Disabled Yii logs and stack trace messages

Disabled Yii logs and stack trace messages

Last modified

Open up the index.php from root folder and comment out following 2 lines


defined('YII_DEBUG') or define('YII_DEBUG',true);
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);