Fix incorrect log messages
git-svn-id: file:///srv/svn/repo/marisa/trunk@32 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
parent
57df304b1b
commit
c52adaffcb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user