Closed liubnu closed 4 months ago
Support all Envoy log levels in configuration.
Refer to https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy for currently supported log levels in Envoy.
New tests cover the changes: yes
Test passed
--- PASS: TestOffLogLevel (0.00s) === RUN TestInvalidLogLevel time="2024-04-17T15:48:22Z" level=info msg="App Mesh Environment Variables: []" time="2024-04-17T15:48:22Z" level=info msg="Envoy Environment Variables: [ENVOY_LOG_LEVEL=doomsday]" time="2024-04-17T15:48:22Z" level=info msg="Agent Environment Variables: []" time="2024-04-17T15:48:22Z" level=warning msg="Envoy log level [doomsday] is not supported, setting it to default [info]."
Refer to https://github.com/aws/amazon-ecs-service-connect-agent/issues/76
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Summary
Support all Envoy log levels in configuration.
Implementation details
Refer to https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy for currently supported log levels in Envoy.
Testing
New tests cover the changes: yes
Test passed
Description for the changelog
Refer to https://github.com/aws/amazon-ecs-service-connect-agent/issues/76
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.