Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify klog to be verbose when controller log-level is set to debug (l…
…inkerd#2221) The controller logs innocuous messages when control plane proxies aren't ready to route requests during startup from each control plane component. i.e. tap, public-api and proxy-api. Setting the log level in the control plane to `INFO` would not hide these log messages and would still show up on control plane startup. This PR modifies `klogs` initial flag set to route innocuous logs to `/dev/null` if the controller log level is set to INFO. If set to debug, we output all loglines to stderr. Fixes linkerd#2171 linkerd#2168 Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
- Loading branch information