diff --git a/chfs-ng/internal/api/server.go b/chfs-ng/internal/api/server.go index 1a54d14..f17d870 100644 --- a/chfs-ng/internal/api/server.go +++ b/chfs-ng/internal/api/server.go @@ -487,6 +487,7 @@ func (s *Server) serveFile(w http.ResponseWriter, r *http.Request, p string, att if attachment { w.Header().Set("Content-Disposition", fmt.Sprintf("attachment; filename=%q", fi.Name())) } + s.logOp(r, fmt.Sprintf("download '%s'", p)) http.ServeContent(w, r, fi.Name(), fi.ModTime(), f) }