From 3484e502657277a55d3e624cd8a8a627c0f1b005 Mon Sep 17 00:00:00 2001 From: Tim Harrold Date: Wed, 18 Oct 2023 20:08:11 +0000 Subject: [PATCH] log updates --- .../github.com/aws/amazon-ecs-agent/ecs-agent/logger/log.go | 2 ++ amazon-vpc-cni-plugins | 2 +- ecs-agent/logger/log.go | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/logger/log.go b/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/logger/log.go index 76da69db1a3..7713ae69563 100644 --- a/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/logger/log.go +++ b/agent/vendor/github.com/aws/amazon-ecs-agent/ecs-agent/logger/log.go @@ -138,6 +138,8 @@ func reloadConfig() { seelog.Error(err) return } + seelog.Info("SEE LOG HERE") + seelog.Info(seelogConfig()) setGlobalLogger(logger, Config.outputFormat) } diff --git a/amazon-vpc-cni-plugins b/amazon-vpc-cni-plugins index be521435325..a83b6634976 160000 --- a/amazon-vpc-cni-plugins +++ b/amazon-vpc-cni-plugins @@ -1 +1 @@ -Subproject commit be5214353252f8315a1341f4df9ffbd8cf69000c +Subproject commit a83b66349768e020487a00e31767fc2e6fc88136 diff --git a/ecs-agent/logger/log.go b/ecs-agent/logger/log.go index 76da69db1a3..f53da23f130 100644 --- a/ecs-agent/logger/log.go +++ b/ecs-agent/logger/log.go @@ -257,6 +257,9 @@ func InitSeelog() { seelog.Error(err) } + seelog.Info(Config) + seelog.Info(Config.logfile) + SetLevel(os.Getenv(LOGLEVEL_ENV_VAR), os.Getenv(LOGLEVEL_ON_INSTANCE_ENV_VAR)) if RolloverType := os.Getenv(LOG_ROLLOVER_TYPE_ENV_VAR); RolloverType != "" {