Browse Source

Merge branch 'master' of https://github.com/renoirfaria/laravel into renoirfaria-master

Taylor Otwell 5 years ago
parent
commit
7b9ab57dd6
1 changed files with 9 additions and 0 deletions
  1. 9 0
      config/logging.php

+ 9 - 0
config/logging.php

@@ -76,6 +76,15 @@ return [
             'driver' => 'errorlog',
             'level' => 'debug',
         ],
+
+        'papertrail' => [
+            'driver'  => 'monolog',
+            'handler' => Monolog\Handler\SyslogUdpHandler::class,
+            'handler_with' => [
+                'host' => env('PAPERTRAIL_URL'),
+                'port' => env('PAPERTRAIL_PORT'),
+            ],
+        ],
     ],
 
 ];