Skip to content

Commit

Permalink
Remove Log for AOT_CONFIG_CONTENT (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 authored Sep 14, 2023
1 parent 830533f commit df2a5ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/config/config_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ func GetConfigProvider(flags *flag.FlagSet) otelcol.ConfigProvider {
// aws-otel-collector supports loading yaml config from Env Var
// including SSM parameter store for ECS use case
loc := getConfigFlag(flags)
if configContent, ok := os.LookupEnv(envKey); ok {
log.Printf("Reading AOT config from environment: %v\n", configContent)
if _, ok := os.LookupEnv(envKey); ok {
loc = []string{"env:" + envKey}
}

Expand Down

0 comments on commit df2a5ad

Please sign in to comment.