Don't log when testing

This commit is contained in:
Pig Fang 2019-07-26 15:58:13 +08:00
parent 9cd46fdbaf
commit d41bbe201c
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ MAIL_ENCRYPTION = ssl
CACHE_DRIVER = array
SESSION_DRIVER = array
QUEUE_DRIVER = sync
LOG_CHANNEL = black-hole
REDIS_HOST = 127.0.0.1
REDIS_PASSWORD = null

View File

@ -65,6 +65,11 @@ return [
'driver' => 'errorlog',
'level' => 'debug',
],
'black-hole' => [
'driver' => 'monolog',
'handler' => Monolog\Handler\NullHandler::class,
],
],
];