From eb8c603046730529f3b4be9c1ddedc8ae38fba2f Mon Sep 17 00:00:00 2001 From: Alessandro Boch Date: Fri, 24 Feb 2017 10:04:38 -0800 Subject: [PATCH] Add logs around service records modifications Signed-off-by: Alessandro Boch --- libnetwork/network.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libnetwork/network.go b/libnetwork/network.go index 2e529a23ec..e5c2eab173 100644 --- a/libnetwork/network.go +++ b/libnetwork/network.go @@ -1118,6 +1118,8 @@ func (n *network) addSvcRecords(name string, epIP net.IP, epIPv6 net.IP, ipMapUp return } + logrus.Debugf("(%s).addSvcRecords(%s, %s, %s, %t)", n.ID()[0:7], name, epIP, epIPv6, ipMapUpdate) + c := n.getController() c.Lock() defer c.Unlock() @@ -1151,6 +1153,8 @@ func (n *network) deleteSvcRecords(name string, epIP net.IP, epIPv6 net.IP, ipMa return } + logrus.Debugf("(%s).deleteSvcRecords(%s, %s, %s, %t)", n.ID()[0:7], name, epIP, epIPv6, ipMapUpdate) + c := n.getController() c.Lock() defer c.Unlock()