Fix papertrail

This commit is contained in:
James Cole 2021-10-03 06:48:22 +02:00
parent f4844e6252
commit e331c10d7e
No known key found for this signature in database
GPG Key ID: BDE6667570EADBD5

View File

@ -22,6 +22,7 @@
declare(strict_types=1);
use FireflyIII\Support\Logging\AuditLogger;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
@ -66,10 +67,13 @@ return [
'via' => FireflyIII\Logging\CreateCustomLogger::class,
],
'papertrail' => [
'driver' => 'papertrail',
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => SyslogUdpHandler::class,
'handler_with' => [
'host' => env('PAPERTRAIL_HOST'),
'port' => env('PAPERTRAIL_PORT'),
'level' => envNonEmpty('APP_LOG_LEVEL', 'info'),
],
],
// single laravel log file: