Update config/logging.php

This commit is contained in:
DariusIII
2019-01-22 11:57:32 +01:00
parent ace420da1e
commit 2e856622fa
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -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
+19
View File
@@ -1,4 +1,6 @@
<?php
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
return [
/*
@@ -55,6 +57,23 @@ return [
'emoji' => ':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',