Merge branch 'dillon/34.4-jenkins-vapor' into vapor/development

This commit is contained in:
Dillon Ngo
2024-05-19 07:17:54 +08:00
3 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -17,8 +17,7 @@ class LogHelper
public function info($message)
{
$channelName = $this->channelName;
Log::info("LogHelper message: {$message} channelName {$channelName}");
Log::info("LogHelper message: {$message} channelName {$this->channelName}");
if(env('LARAVEL_VAPOR_ENABLED')){
Log::channel($this->channelName.'_vapor')->info($message);
}
+1 -1
View File
@@ -25,7 +25,7 @@ class CloudWatchLoggerFactory
$client = new CloudWatchLogsClient($sdkParams);
// Log group name, will be created if none
$groupName = config('app.name') . '-' . config('app.env');
$groupName = $config["groupNamePrefix"] . '-' . $config["groupNameSuffix"];
// Log stream name, will be created if none
// $streamName = config('app.hostname');
+2
View File
@@ -75,6 +75,8 @@ return [
],
'retention' => 3, //cief todo: to be updated
'level' => 'debug',
'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'),
'groupNameSuffix' => env('CLOUDWATCH_LOGGROUP_SUFFIX'),
],
'slack' => [