Browse Source

Add scopes key in log config

Ishan Vyas 5 years ago
parent
commit
5ef2d1c5ff
1 changed files with 2 additions and 0 deletions
  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),
 ]);