improve logs

This commit is contained in:
Victor Vieux 2014-11-20 22:45:38 +00:00
parent dba2dee87f
commit 8f708d778d
1 changed files with 2 additions and 2 deletions

View File

@ -123,13 +123,13 @@ func (n *Node) refreshContainers() error {
for _, c := range containers {
merged, err = n.updateContainer(c, merged)
if err != nil {
log.Errorf("[%s] Unable to update state of %s", n.ID, c.Id)
log.Errorf("[%s/%s] Unable to update state of %s", n.ID, n.Name, c.Id)
}
}
n.containers = merged
log.Debugf("[%s] Updated state", n.ID)
log.Debugf("[%s/%s] Updated state", n.ID, n.Name)
return nil
}