diff --git a/config/logging.php b/config/logging.php index 46bb2c80..d2edd4f7 100644 --- a/config/logging.php +++ b/config/logging.php @@ -175,7 +175,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ], @@ -193,7 +193,7 @@ return [ 'secret' => env('AWS_CW_SECRET') ] ], - 'retention' => 31, + 'retention' => env('APP_ENV') === 'production' ? 90 : 6, 'level' => 'debug', 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), ],