Laravel Vapor - Update custom logs retention period

This commit is contained in:
Dillon Ngo
2024-11-05 02:42:25 +08:00
parent 4884d7ecdd
commit 1282ab4e45
+4 -4
View File
@@ -145,7 +145,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => 31,
'retention' => env('APP_ENV') === 'production' ? 90 : 6,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -163,7 +163,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => 31,
'retention' => env('APP_ENV') === 'production' ? 90 : 6,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -181,7 +181,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => 31,
'retention' => env('APP_ENV') === 'production' ? 90 : 6,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -199,7 +199,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => 31,
'retention' => env('APP_ENV') === 'production' ? 90 : 6,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],