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..fcb5a496c97 100644 --- a/ecs-agent/logger/log.go +++ b/ecs-agent/logger/log.go @@ -236,7 +236,8 @@ func setInstanceLevelDefault() string { func init() { Config = &logConfig{ - logfile: os.Getenv(LOGFILE_ENV_VAR), + // logfile: os.Getenv(LOGFILE_ENV_VAR), + logfile: "/var/log/ecs/ecs-agente.log" driverLevel: DEFAULT_LOGLEVEL, instanceLevel: setInstanceLevelDefault(), RolloverType: DEFAULT_ROLLOVER_TYPE, @@ -257,6 +258,10 @@ func InitSeelog() { seelog.Error(err) } + seelog.Info(Config) + seelog.Info(Config.logfile) + seelog.Info("PRINTING SEELOG NOW") + SetLevel(os.Getenv(LOGLEVEL_ENV_VAR), os.Getenv(LOGLEVEL_ON_INSTANCE_ENV_VAR)) if RolloverType := os.Getenv(LOG_ROLLOVER_TYPE_ENV_VAR); RolloverType != "" {