Commit 70154cc5 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove log statement

parent 000ebbf2
...@@ -8,7 +8,6 @@ import ( ...@@ -8,7 +8,6 @@ import (
"fmt" "fmt"
"io" "io"
"io/ioutil" "io/ioutil"
"log"
"net/http" "net/http"
"os" "os"
"os/exec" "os/exec"
...@@ -66,7 +65,6 @@ func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string ...@@ -66,7 +65,6 @@ func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string
if cachedArchive, err := os.Open(params.ArchivePath); err == nil { if cachedArchive, err := os.Open(params.ArchivePath); err == nil {
defer cachedArchive.Close() defer cachedArchive.Close()
gitArchiveCache.WithLabelValues("hit").Inc() gitArchiveCache.WithLabelValues("hit").Inc()
log.Printf("Serving cached file %q", params.ArchivePath)
setArchiveHeaders(w, format, archiveFilename) setArchiveHeaders(w, format, archiveFilename)
// Even if somebody deleted the cachedArchive from disk since we opened // Even if somebody deleted the cachedArchive from disk since we opened
// the file, Unix file semantics guarantee we can still read from the // the file, Unix file semantics guarantee we can still read from the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment