Laravel Vapor - Update custom logs retention period

This commit is contained in:
Dillon Ngo
2024-11-05 03:12:20 +08:00
parent 1ef6b3614a
commit 15b94ee497
+6 -6
View File
@@ -157,7 +157,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -175,7 +175,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -193,7 +193,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -211,7 +211,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -229,7 +229,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],
@@ -247,7 +247,7 @@ return [
'secret' => env('AWS_CW_SECRET')
]
],
'retention' => env('APP_ENV') === 'production' ? 90 : 3,
'retention' => env('APP_ENV') === 'production' ? 90 : 14,
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
],