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'), + ], + ], ], ];