浏览代码

Add scopes key in log config

Ishan Vyas 5 年之前
父节点
当前提交
5ef2d1c5ff
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/bootstrap.php

+ 2 - 0
tests/bootstrap.php

@@ -89,6 +89,7 @@ Cake\Log\Log::setConfig('debug', [
 	'className' => 'Cake\Log\Engine\FileLog',
 	'path' => LOGS,
 	'file' => 'debug',
+	'scopes' => false,
 	'levels' => ['notice', 'info', 'debug'],
 	'url' => env('LOG_DEBUG_URL', null),
 ]);
@@ -96,6 +97,7 @@ Cake\Log\Log::setConfig('error', [
 	'className' => 'Cake\Log\Engine\FileLog',
 	'path' => LOGS,
 	'file' => 'error',
+	'scopes' => false,
 	'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
 	'url' => env('LOG_ERROR_URL', null),
 ]);