From 1fc85114c41665d093579ca5daea14c7af5ae519 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Wed, 10 Jul 2013 12:57:36 -0400 Subject: [PATCH] Added default trace level setting. --- apps/advanced/frontend/config/main.php | 1 + apps/basic/config/web.php | 1 + 2 files changed, 2 insertions(+) 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',