Skip to content

Commit 2ad5b9b

Browse files
authored
Logs: include remote file full URL (#92)
1 parent 97bc2fd commit 2ad5b9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

http-range.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package main
22

33
import (
44
"io"
5-
"path/filepath"
65
"strings"
76
"time"
87

@@ -53,7 +52,7 @@ func (r *readCloserWrapper) ReadAt(p []byte, off int64) (n int, err error) {
5352
prefix = icon + purpleBG("[READ-CAR]")
5453
}
5554
}
56-
klog.V(5).Infof(prefix+" %s:%d+%d (%s)\n", filepath.Base(r.name), off, len(p), took)
55+
klog.V(5).Infof(prefix+" %s:%d+%d (%s)\n", (r.name), off, len(p), took)
5756
}
5857
}()
5958
return r.rac.ReadAt(p, off)

0 commit comments

Comments
 (0)