aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-12-16 17:37:10 -0800
committerChris Lu <chris.lu@gmail.com>2018-12-16 17:37:10 -0800
commit93d0ad09affdf1b5e916574cf76a1eeb2b5838c6 (patch)
treef7fa8f1b6dc5fe8bf510c9768181981a00f2ebf1 /weed/command/volume.go
parent13e79892d147073c7bad40a0884dbabf13fe6450 (diff)
downloadseaweedfs-93d0ad09affdf1b5e916574cf76a1eeb2b5838c6.tar.xz
seaweedfs-93d0ad09affdf1b5e916574cf76a1eeb2b5838c6.zip
error log format
Diffstat (limited to 'weed/command/volume.go')
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index f283ef113..27a075b5b 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -155,7 +155,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
)
listeningAddress := *v.bindIp + ":" + strconv.Itoa(*v.port)
- glog.V(0).Infoln("Start Seaweed volume server", util.VERSION, "at", listeningAddress)
+ glog.V(0).Infof("Start Seaweed volume server %s at %s", util.VERSION, listeningAddress)
listener, e := util.NewListener(listeningAddress, time.Duration(*v.idleConnectionTimeout)*time.Second)
if e != nil {
glog.Fatalf("Volume server listener error:%v", e)