Authored by wuxiao

修改接口日志设置

... ... @@ -15,6 +15,8 @@ if (!YII_ENV_TEST) {
$config['modules']['8FmTQbUC'] = [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*'],
'historySize'=> 100000,
'dataPath' => is_dir('/dev/shm') ? '/dev/shm/debug' : '@runtime/debug',
];
}
... ...
... ... @@ -25,13 +25,13 @@ return [
'name' => 'advanced-frontend',
],
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
/*'traceLevel' => YII_DEBUG ? 3 : 0,
'targets' => [
[
'class' => 'yii\log\FileTarget',
'levels' => ['error', 'warning'],
],
],
],*/
],
'errorHandler' => [
//'errorAction' => 'site/error',
... ...