From c4427cad1a99a43cc63433a17d400d8c32fd2a6c Mon Sep 17 00:00:00 2001 From: Aayush Kumar Date: Mon, 25 Jul 2016 18:24:33 +0530 Subject: [PATCH] Minor Fix : Changing defaultValue from true to false in monitorApps() to ensure no-logging if logEnabled=false --- app-monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-monitor.go b/app-monitor.go index 19a5043..157d5cb 100644 --- a/app-monitor.go +++ b/app-monitor.go @@ -68,7 +68,7 @@ func (a *AppMonitor) monitorApps() error { } for _, app := range apps.Apps { - isLogEnabled := maps.GetBoolean(*app.Labels, LogEnabledLabel, true) + isLogEnabled := maps.GetBoolean(*app.Labels, LogEnabledLabel, false) if isLogEnabled { app, err := a.Client.Application(app.ID) if err != nil {