From 2e856622fa6400b4434ee9bf4f3e2cc46a392c00 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 22 Jan 2019 11:57:32 +0100 Subject: [PATCH] Update config/logging.php --- Changelog | 1 + config/logging.php | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/Changelog b/Changelog index 24f9c2eda..1d6e4d779 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-01-22 DariusIII + * Chg: Update config/logging.php * Fix: Fix one more occurence of wrong data sent to search function * Chg: Log errors in PostProcessAdditional class 2019-01-21 DariusIII diff --git a/config/logging.php b/config/logging.php index 587bd6b90..0f9686d9e 100644 --- a/config/logging.php +++ b/config/logging.php @@ -1,4 +1,6 @@ ':boom:', 'level' => 'critical', ], + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => 'debug', + 'handler' => SyslogUdpHandler::class, + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + ], + ], + 'stderr' => [ + 'driver' => 'monolog', + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + ], 'syslog' => [ 'driver' => 'syslog', 'level' => 'debug',