Browse Source

adjust logging

pull/6006/head
chrislu 3 months ago
parent
commit
69fcdd0840
  1. 2
      weed/filer/leveldb/leveldb_store.go

2
weed/filer/leveldb/leveldb_store.go

@ -44,7 +44,7 @@ func (store *LevelDBStore) Initialize(configuration weed_util.Configuration, pre
} }
func (store *LevelDBStore) initialize(dir string) (err error) { func (store *LevelDBStore) initialize(dir string) (err error) {
glog.Infof("filer store dir: %s", dir)
glog.V(0).Infof("filer store dir: %s", dir)
os.MkdirAll(dir, 0755) os.MkdirAll(dir, 0755)
if err := weed_util.TestFolderWritable(dir); err != nil { if err := weed_util.TestFolderWritable(dir); err != nil {
return fmt.Errorf("Check Level Folder %s Writable: %s", dir, err) return fmt.Errorf("Check Level Folder %s Writable: %s", dir, err)

Loading…
Cancel
Save