agent: Adding debug log messages

This commit is contained in:
Armon Dadgar 2014-04-23 12:21:47 -07:00
parent e210f9b541
commit 7e27ded378
1 changed files with 4 additions and 0 deletions

View File

@ -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