Skip to content

Commit

Permalink
log updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timj-hh committed Oct 18, 2023
1 parent a81064e commit 3484e50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ecs-agent/logger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 3484e50

Please sign in to comment.