diff --git a/partage.go b/partage.go index 1590a8d..cefc2e9 100644 --- a/partage.go +++ b/partage.go @@ -148,7 +148,7 @@ func uploaderPut(w http.ResponseWriter, r *http.Request) { defer f.Close() if verbose { - log.Printf("Writing %d bytes to %s", r.ContentLength, tmp) + log.Printf("Writing %d bytes to %s", r.ContentLength, tmp.Name()) } if err = writefile(f, r.Body, r.ContentLength); err != nil { @@ -286,10 +286,6 @@ func main() { conf.expiry, _ = cfg.Section("").Key("expiry").Int64() } - if verbose { - log.Printf("Applied configuration:\n%s", conf) - } - if conf.chroot != "" { if verbose { log.Printf("Changing root to %s", conf.chroot)