浏览代码

Reduce logging verbosity in allocator

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 9 年之前
父节点
当前提交
c2064dc18d
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      libnetwork/ipam/allocator.go
  2. 0 1
      libnetwork/sandbox_store.go

+ 1 - 1
libnetwork/ipam/allocator.go

@@ -239,7 +239,7 @@ func (a *Allocator) parsePoolRequest(addressSpace, pool, subPool string, v6 bool
 }
 
 func (a *Allocator) insertBitMask(key SubnetKey, pool *net.IPNet) error {
-	log.Debugf("Inserting bitmask (%s, %s)", key.String(), pool.String())
+	//log.Debugf("Inserting bitmask (%s, %s)", key.String(), pool.String())
 
 	store := a.getStore(key.AddressSpace)
 	if store == nil {

+ 0 - 1
libnetwork/sandbox_store.go

@@ -168,7 +168,6 @@ func (c *controller) sandboxCleanup() {
 	for _, kvo := range kvol {
 		sbs := kvo.(*sbState)
 
-		logrus.Printf("sandboxcleanup sbs = %+v", sbs)
 		sb := &sandbox{
 			id:          sbs.ID,
 			controller:  sbs.c,