Laravel Vapor - fill in latest changes of code from master branch

This commit is contained in:
Dillon Ngo
2024-09-04 13:01:52 +08:00
parent 1073fbfa4d
commit 9f7a40e0f8
+18
View File
@@ -227,6 +227,24 @@ return [
'path' => storage_path('logs/wac_webhook.log'),
'level' => 'info',
],
'wac_webhook_vapor' => [
'driver' => 'custom',
'via' => \App\Logging\CloudWatchLoggerFactory::class,
'formatter' => Monolog\Formatter\JsonFormatter::class,
'cloudwatch_stream_name' => 'wac_webhook_vapor',
'sdk' => [
'region' => env('AWS_MY_REGION'),
'version' => 'latest',
'credentials' => [
'key' => env('AWS_CW_ACCESS'),
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => 3, //cief todo: retention to be updated
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
],
];