Browse Source

Added default trace level setting.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
1fc85114c4
  1. 1
      apps/advanced/frontend/config/main.php
  2. 1
      apps/basic/config/web.php

1
apps/advanced/frontend/config/main.php

@ -26,6 +26,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',

1
apps/basic/config/web.php

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

Loading…
Cancel
Save