aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-07 23:17:31 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-07 23:17:31 -0700
commit4bed1663e265e230a6538c19859396907f419f58 (patch)
treeb1fac3c0280781f5d7cf5479d493ea2cbe5a8aa8
parent482d13468bcce8ee804cf7eaf569397351aa0a8e (diff)
downloadseaweedfs-4bed1663e265e230a6538c19859396907f419f58.tar.xz
seaweedfs-4bed1663e265e230a6538c19859396907f419f58.zip
adjust log level
-rw-r--r--weed/storage/needle_map_leveldb.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/needle_map_leveldb.go b/weed/storage/needle_map_leveldb.go
index 63485522d..83589c231 100644
--- a/weed/storage/needle_map_leveldb.go
+++ b/weed/storage/needle_map_leveldb.go
@@ -28,9 +28,9 @@ func NewLevelDbNeedleMap(dbFileName string, indexFile *os.File, opts *opt.Option
m = &LevelDbNeedleMap{dbFileName: dbFileName}
m.indexFile = indexFile
if !isLevelDbFresh(dbFileName, indexFile) {
- glog.V(0).Infof("Start to Generate %s from %s", dbFileName, indexFile.Name())
+ glog.V(1).Infof("Start to Generate %s from %s", dbFileName, indexFile.Name())
generateLevelDbFile(dbFileName, indexFile)
- glog.V(0).Infof("Finished Generating %s from %s", dbFileName, indexFile.Name())
+ glog.V(1).Infof("Finished Generating %s from %s", dbFileName, indexFile.Name())
}
glog.V(1).Infof("Opening %s...", dbFileName)