Install AltThree/Logger, prevent HttpExceptionInterface logging
This commit is contained in:
@@ -175,6 +175,7 @@ return [
|
||||
*/
|
||||
AltThree\Badger\BadgerServiceProvider::class,
|
||||
AltThree\Emoji\EmojiServiceProvider::class,
|
||||
AltThree\Logger\LoggerServiceProvider::class,
|
||||
BackupManager\Laravel\Laravel5ServiceProvider::class,
|
||||
Barryvdh\Cors\ServiceProvider::class,
|
||||
Fideloper\Proxy\TrustedProxyServiceProvider::class,
|
||||
|
||||
@@ -106,7 +106,7 @@ return [
|
||||
'Illuminate\Auth\Access\AuthorizationException' => 'warning',
|
||||
'Illuminate\Database\Eloquent\ModelNotFoundException' => 'warning',
|
||||
'Illuminate\Session\TokenMismatchException' => 'notice',
|
||||
'Symfony\Component\HttpKernel\Exception\HttpExceptionInterface' => 'warning',
|
||||
'Symfony\Component\HttpKernel\Exception\HttpExceptionInterface' => 'notice',
|
||||
'Symfony\Component\Debug\Exception\FatalErrorException' => 'critical',
|
||||
'Exception' => 'error',
|
||||
],
|
||||
|
||||
27
config/logger.php
Normal file
27
config/logger.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Cachet.
|
||||
*
|
||||
* (c) Alt Three Services Limited
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Loggers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here are each of the loggers to call under the hood while logging.
|
||||
|
|
||||
*/
|
||||
|
||||
'loggers' => [
|
||||
'Illuminate\Log\Writer' => ['warning', 'error', 'critical', 'alert', 'emergency'],
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user