Browse Source

remove println

pull/1020/head
Chris Lu 6 years ago
parent
commit
36250154cc
  1. 4
      weed/filer2/leveldb2/leveldb2_store.go

4
weed/filer2/leveldb2/leveldb2_store.go

@ -117,7 +117,7 @@ func (store *LevelDB2Store) FindEntry(ctx context.Context, fullpath filer2.FullP
return entry, fmt.Errorf("decode %s : %v", entry.FullPath, err) return entry, fmt.Errorf("decode %s : %v", entry.FullPath, err)
} }
println("read", entry.FullPath, "chunks", len(entry.Chunks), "data", len(data), string(data))
// println("read", entry.FullPath, "chunks", len(entry.Chunks), "data", len(data), string(data))
return entry, nil return entry, nil
} }
@ -160,7 +160,7 @@ func (store *LevelDB2Store) ListDirectoryEntries(ctx context.Context, fullpath f
FullPath: filer2.NewFullPath(string(fullpath), fileName), FullPath: filer2.NewFullPath(string(fullpath), fileName),
} }
println("list", entry.FullPath, "chunks", len(entry.Chunks))
// println("list", entry.FullPath, "chunks", len(entry.Chunks))
if decodeErr := entry.DecodeAttributesAndChunks(iter.Value()); decodeErr != nil { if decodeErr := entry.DecodeAttributesAndChunks(iter.Value()); decodeErr != nil {
err = decodeErr err = decodeErr

Loading…
Cancel
Save