From 7e27ded378008dd7ee2d90d399d8a5ea5967e744 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 23 Apr 2014 12:21:47 -0700 Subject: [PATCH] agent: Adding debug log messages --- command/agent/local.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command/agent/local.go b/command/agent/local.go index 540e29b9a..e0b6a12d0 100644 --- a/command/agent/local.go +++ b/command/agent/local.go @@ -341,6 +341,8 @@ func (l *localState) syncChanges() error { if err := l.syncService(id); err != nil { return err } + } else { + l.logger.Printf("[DEBUG] agent: Service '%s' in sync", id) } } @@ -354,6 +356,8 @@ func (l *localState) syncChanges() error { if err := l.syncCheck(id); err != nil { return err } + } else { + l.logger.Printf("[DEBUG] agent: Check '%s' in sync", id) } } return nil