error log format

This commit is contained in:
Chris Lu
2018-12-16 17:37:10 -08:00
parent 13e79892d1
commit 93d0ad09af
4 changed files with 4 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ func runServer(cmd *Command, args []string) bool {
serverWhiteList, *serverSecureKey,
)
glog.V(0).Infoln("Start Seaweed Master", util.VERSION, "at", *serverIp+":"+strconv.Itoa(*masterPort))
glog.V(0).Infof("Start Seaweed Master %s at %s:%d", util.VERSION, *serverIp, *masterPort)
masterListener, e := util.NewListener(*serverBindIp+":"+strconv.Itoa(*masterPort), 0)
if e != nil {
glog.Fatalf("Master startup error: %v", e)