From 5eff9489dc9c2501bb622d2a0ab1c9576d5ca49e Mon Sep 17 00:00:00 2001
From: gagliardetto <gagliardetto@users.noreply.github.com>
Date: Fri, 23 Feb 2024 15:41:38 +0100
Subject: [PATCH] Logs: include remote file full URL

---
 http-range.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/http-range.go b/http-range.go
index 04fa4083..2b948b8d 100644
--- a/http-range.go
+++ b/http-range.go
@@ -2,7 +2,6 @@ package main
 
 import (
 	"io"
-	"path/filepath"
 	"strings"
 	"time"
 
@@ -53,7 +52,7 @@ func (r *readCloserWrapper) ReadAt(p []byte, off int64) (n int, err error) {
 					prefix = icon + purpleBG("[READ-CAR]")
 				}
 			}
-			klog.V(5).Infof(prefix+" %s:%d+%d (%s)\n", filepath.Base(r.name), off, len(p), took)
+			klog.V(5).Infof(prefix+" %s:%d+%d (%s)\n", (r.name), off, len(p), took)
 		}
 	}()
 	return r.rac.ReadAt(p, off)