Added default trace level setting.

This commit is contained in:
Qiang Xue 2013-07-10 12:57:36 -04:00
parent 72dd7acbef
commit a6ef380c9b

View File

@ -22,6 +22,7 @@ return array(
'bundles' => require(__DIR__ . '/assets.php'), 'bundles' => require(__DIR__ . '/assets.php'),
), ),
'log' => array( 'log' => array(
'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => array( 'targets' => array(
array( array(
'class' => 'yii\log\FileTarget', 'class' => 'yii\log\FileTarget',