aboutsummaryrefslogtreecommitdiff
path: root/go/topology/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/topology/node.go')
-rw-r--r--go/topology/node.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/topology/node.go b/go/topology/node.go
index b2414032b..c8ff55f07 100644
--- a/go/topology/node.go
+++ b/go/topology/node.go
@@ -2,7 +2,7 @@ package topology
import (
"code.google.com/p/weed-fs/go/storage"
- "log"
+ "code.google.com/p/weed-fs/go/glog"
)
type NodeId string
@@ -155,7 +155,7 @@ func (n *NodeImpl) LinkChildNode(node Node) {
n.UpAdjustVolumeCountDelta(node.GetVolumeCount())
n.UpAdjustActiveVolumeCountDelta(node.GetActiveVolumeCount())
node.SetParent(n)
- log.Println(n, "adds child", node.Id())
+ glog.V(0).Infoln(n, "adds child", node.Id())
}
}
@@ -167,7 +167,7 @@ func (n *NodeImpl) UnlinkChildNode(nodeId NodeId) {
n.UpAdjustVolumeCountDelta(-node.GetVolumeCount())
n.UpAdjustActiveVolumeCountDelta(-node.GetActiveVolumeCount())
n.UpAdjustMaxVolumeCountDelta(-node.GetMaxVolumeCount())
- log.Println(n, "removes", node, "volumeCount =", n.activeVolumeCount)
+ glog.V(0).Infoln(n, "removes", node, "volumeCount =", n.activeVolumeCount)
}
}