|
@@ -19,6 +19,22 @@ return [
|
|
|
|
|
|
'default' => env('LOG_CHANNEL', 'stack'),
|
|
'default' => env('LOG_CHANNEL', 'stack'),
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ |--------------------------------------------------------------------------
|
|
|
|
+ | Deprecations Log Channel
|
|
|
|
+ |--------------------------------------------------------------------------
|
|
|
|
+ |
|
|
|
|
+ | This option controls the log channel that should be used to log warnings
|
|
|
|
+ | regarding deprecated PHP and library features. This allows you to get
|
|
|
|
+ | your application ready for upcoming major versions of dependencies.
|
|
|
|
+ |
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+ 'deprecations' => [
|
|
|
|
+ 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
|
|
|
|
+ 'trace' => false,
|
|
|
|
+ ],
|
|
|
|
+
|
|
/*
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
|--------------------------------------------------------------------------
|
|
| Log Channels
|
|
| Log Channels
|
|
@@ -65,15 +81,17 @@ return [
|
|
'papertrail' => [
|
|
'papertrail' => [
|
|
'driver' => 'monolog',
|
|
'driver' => 'monolog',
|
|
'level' => env('LOG_LEVEL', 'debug'),
|
|
'level' => env('LOG_LEVEL', 'debug'),
|
|
- 'handler' => SyslogUdpHandler::class,
|
|
|
|
|
|
+ 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),
|
|
'handler_with' => [
|
|
'handler_with' => [
|
|
'host' => env('PAPERTRAIL_URL'),
|
|
'host' => env('PAPERTRAIL_URL'),
|
|
'port' => env('PAPERTRAIL_PORT'),
|
|
'port' => env('PAPERTRAIL_PORT'),
|
|
|
|
+ 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
|
|
],
|
|
],
|
|
],
|
|
],
|
|
|
|
|
|
'stderr' => [
|
|
'stderr' => [
|
|
'driver' => 'monolog',
|
|
'driver' => 'monolog',
|
|
|
|
+ 'level' => env('LOG_LEVEL', 'debug'),
|
|
'handler' => StreamHandler::class,
|
|
'handler' => StreamHandler::class,
|
|
'formatter' => env('LOG_STDERR_FORMATTER'),
|
|
'formatter' => env('LOG_STDERR_FORMATTER'),
|
|
'with' => [
|
|
'with' => [
|