aws / amazon-ecs-service-connect-agent

Amazon ECS Service Connect Agent
Apache License 2.0
29 stars 11 forks source link

[BUG] Envoy Does Not Respect ENVOY_LOG_LEVEL Setting from Service Connect Agent in AWS App Mesh #76

Closed Penghaow closed 4 months ago

Penghaow commented 6 months ago

Summary

In the AWS App Mesh scenario, the Service Connect Agent is utilized to generate static bootstrap configurations for Envoy proxies. Despite this setup, there is an observed issue where Envoy logs do not respect the ENVOY_LOG_LEVEL setting specified by the Service Connect Agent. This behavior is unexpected.

Description

When setting the ENVOY_LOG_LEVEL to off via the Service Connect Agent, Envoy sidecar containers continue to output logs at the info level. Despite correctly setting this environment variable here, it appears that Envoy is not respecting the specified log level.

Expected Behavior

Envoy should not produce any logs when ENVOY_LOG_LEVEL is set to off, as per the configuration defined by the Service Connect Agent.

Observed Behavior

Envoy continues to output logs at the info level, disregarding the ENVOY_LOG_LEVEL set to off. More detailed in this ticket

Environment Details

liubnu commented 4 months ago

https://github.com/aws/aws-app-mesh-roadmap/issues/492