diff options
| author | binbinshi <javabinbin@126.com> | 2023-10-20 21:13:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-20 06:13:54 -0700 |
| commit | 30b48ad61438a9746eab33e51ba93991398e957a (patch) | |
| tree | df6157daa4a1968fccfb7f73547ed8c4daee6142 /unmaintained/see_dat/see_dat.go | |
| parent | 294337d882b256dc5b3acb304f92583931fea707 (diff) | |
| download | seaweedfs-30b48ad61438a9746eab33e51ba93991398e957a.tar.xz seaweedfs-30b48ad61438a9746eab33e51ba93991398e957a.zip | |
see_dat add print name (#4930)
Diffstat (limited to 'unmaintained/see_dat/see_dat.go')
| -rw-r--r-- | unmaintained/see_dat/see_dat.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unmaintained/see_dat/see_dat.go b/unmaintained/see_dat/see_dat.go index 61ce9428d..1b2f0bb6a 100644 --- a/unmaintained/see_dat/see_dat.go +++ b/unmaintained/see_dat/see_dat.go @@ -33,8 +33,8 @@ func (scanner *VolumeFileScanner4SeeDat) ReadNeedleBody() bool { func (scanner *VolumeFileScanner4SeeDat) VisitNeedle(n *needle.Needle, offset int64, needleHeader, needleBody []byte) error { t := time.Unix(int64(n.AppendAtNs)/int64(time.Second), int64(n.AppendAtNs)%int64(time.Second)) - glog.V(0).Infof("%d,%s%08x offset %d size %d(%s) cookie %08x appendedAt %v", - *volumeId, n.Id, n.Cookie, offset, n.Size, util.BytesToHumanReadable(uint64(n.Size)), n.Cookie, t) + glog.V(0).Infof("%d,%s%08x offset %d size %d(%s) cookie %08x appendedAt %v name %s", + *volumeId, n.Id, n.Cookie, offset, n.Size, util.BytesToHumanReadable(uint64(n.Size)), n.Cookie, t, n.Name) return nil } |
