aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreshujiushiwo <378013446@qq.com>2016-11-28 15:32:16 +0800
committerGitHub <noreply@github.com>2016-11-28 15:32:16 +0800
commit3450eff2886f38594154bee4b1b389787c0be575 (patch)
tree1d637c95c2537975524124438521b7f5d573aba2
parent3e29d0f75b974294718c5050ef5adabcbbab2e51 (diff)
downloadseaweedfs-3450eff2886f38594154bee4b1b389787c0be575.tar.xz
seaweedfs-3450eff2886f38594154bee4b1b389787c0be575.zip
fix info log
fix info log
-rw-r--r--weed/filer/cassandra_store/cassandra_store.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer/cassandra_store/cassandra_store.go b/weed/filer/cassandra_store/cassandra_store.go
index f4ff5ef3e..6b7779bb6 100644
--- a/weed/filer/cassandra_store/cassandra_store.go
+++ b/weed/filer/cassandra_store/cassandra_store.go
@@ -34,7 +34,8 @@ func NewCassandraStore(keyspace string, hosts ...string) (c *CassandraStore, err
c = &CassandraStore{}
s := strings.Split(hosts, ",")
if len(s) == 1 {
- glog.V(0).Infof("Only one cassandra node to connect!A Cluster is Proposed" )
+
+ glog.V(2).Info("Only one cassandra node to connect!A Cluster is Proposed!Now using:", string(hosts))
c.cluster = gocql.NewCluster(hosts...)
} else if len(s) > 1 {
c.cluster = gocql.NewCluster(s[0], s[1])