aws-observability / aws-otel-test-framework

AWS Distro for OpenTelemetry Test Framework
https://aws-otel.github.io/
Apache License 2.0
28 stars 62 forks source link

Add log level configuration #191

Open willarmiros opened 3 years ago

willarmiros commented 3 years ago

It'd be nice to configure the log level output to not include some of the more verbose more verbose messages (like logging an entire trace on every retry) when running the framework locally. This log level could be configured with command line arg --log-level accepted by App.java. We can configure Log4J to use it with one of these workarounds: https://stackoverflow.com/questions/7126709/how-do-i-set-log4j-level-on-the-command-line

wyTrivail commented 3 years ago

@willarmiros thank you for this suggestion!

There're two parts of the logs we need to take care,