Enable debug log only if trace is enabled for specific components
Summary
We where been reported that degradation of performance is happening on Envoy component due to debug logging being hardcoded in the envoy container command.
-
Implement in target_version1.0.0-alpha2 -
Backport to target_version0.9.6
Current Behaviour
Debug logging on envoy component is hardcoded and can not be disabled.
Steps to reproduce
- Run a cluster and look into envoy logs
Expected Behaviour
Debug/trace logging to not be enabled by default and can be dynamically enabled in ant component on demand.
Possible Solution
Use quarkus logging configuration to enable/disable logging for all the components and document in the "developer" section of the documentation
Environment
- StackGres version: 1.0.0-alpha1
- Kubernetes version: ?
- Cloud provider or hardware configuration: ?
Edited by Matteo Melli