envoyproxy / envoy-mobile

Client HTTP and networking library based on the Envoy project for iOS, Android, and more.
https://envoymobile.io
Apache License 2.0
557 stars 84 forks source link

Honor the `-l` log level command line setting for C++ integration tests #2677

Closed abeyad closed 1 year ago

abeyad commented 1 year ago

Instead of requiring adding the code addLogLevel() to an integration test to get finer-grained logging, now we can specify the log level on the command line via --test_arg="-l LOG_LEVEL", just like for the Envoy integration tests. For example:

bazel test --test_arg="-l trace" //test/common/integration:rtds_integration_test

Limitations:

Signed-off-by: Ali Beyad abeyad@google.com

abeyad commented 1 year ago

/retest