Change log-level for better performance and less annoying logs (#1231)

This PR removes not so useful logs and changes most of Info level
log to Debug/Error level in hot path while preserving some of them
that is helpful for troubleshooting.
This commit is contained in:
Ta-Ching Chen
2019-07-19 12:38:36 +08:00
committed by GitHub
parent 6e00733f68
commit 1beaa9ec13
23 changed files with 98 additions and 164 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ func makeEnvironmentWatcher(
if len(enableIstio) > 0 {
istio, err := strconv.ParseBool(enableIstio)
if err != nil {
logger.Info("Failed to parse ENABLE_ISTIO, defaults to false")
logger.Error("Failed to parse ENABLE_ISTIO, defaults to false")
}
useIstio = istio
}