diff --git a/apps/advanced/frontend/config/main.php b/apps/advanced/frontend/config/main.php index c79df90..5be2849 100644 --- a/apps/advanced/frontend/config/main.php +++ b/apps/advanced/frontend/config/main.php @@ -26,6 +26,7 @@ return array( 'bundles' => require(__DIR__ . '/assets.php'), ), 'log' => array( + 'traceLevel' => YII_DEBUG ? 3 : 0, 'targets' => array( array( 'class' => 'yii\log\FileTarget', diff --git a/apps/basic/config/web.php b/apps/basic/config/web.php index b25d92d..10e8856 100644 --- a/apps/basic/config/web.php +++ b/apps/basic/config/web.php @@ -22,6 +22,7 @@ return array( 'bundles' => require(__DIR__ . '/assets.php'), ), 'log' => array( + 'traceLevel' => YII_DEBUG ? 3 : 0, 'targets' => array( array( 'class' => 'yii\log\FileTarget',