better log messages

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@28 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
chris.lu@gmail.com
2011-12-27 01:40:16 +00:00
parent 4c36190dd3
commit 3c98f1a119
2 changed files with 2 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ func NewStore(port int, publicUrl, dirname string, volumeListString string) (s *
}
}
}
log.Println("Store started on dir:", dirname, "with", len(s.volumes), "existing volumes")
log.Println("Store started on dir:", dirname, "with", len(s.volumes), "volumes")
return
}
@@ -76,7 +76,6 @@ func (s *Store) Join(mserver string) {
values.Add("port", strconv.Itoa(s.Port))
values.Add("publicUrl", s.PublicUrl)
values.Add("volumes", string(bytes))
log.Println("Exiting volumes", string(bytes))
util.Post("http://"+mserver+"/dir/join", values)
}
func (s *Store) Close() {