Browse Source

Fix logger error message

Vova Tkach 5 years ago
parent
commit
a638be1716
1 changed files with 1 additions and 1 deletions
  1. 1 1
      logger/handler.go

+ 1 - 1
logger/handler.go

@@ -47,7 +47,7 @@ func (this handler) log(w *writer, r *http.Request) {
 	case this.c <- logMsg{r.Host, msg, w.status >= 400}:
 		return
 	case <-time.After(1 * time.Second):
-		fmt.Printf("Logger, can't write to file (overflow): %s\n", msg)
+		fmt.Printf("Logger, can't write msg (overflow): %s\n", msg)
 		return
 	}
 }