From ea3afd1013c24b696eefdcd2097cc2eddeb82849 Mon Sep 17 00:00:00 2001 From: Renoir dos Reis Date: Wed, 5 Sep 2018 11:15:27 -0300 Subject: [PATCH] Adding papertrail log channel option --- config/logging.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/logging.php b/config/logging.php index 400bc7f4..f874cc37 100644 --- a/config/logging.php +++ b/config/logging.php @@ -76,6 +76,15 @@ 'driver' => 'errorlog', 'level' => 'debug', ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'handler' => Monolog\Handler\SyslogUdpHandler::class, + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + ], + ], ], ];