@@ -46,7 +46,7 @@ func (this handler) log(w *writer, r *http.Request) {
return
case this.c <- logMsg{r.Host, msg, w.status >= 400}:
- case <-time.After(2 * time.Second):
+ case <-time.After(1 * time.Second):
fmt.Printf("Logger, can't write to file (overflow): %s\n", msg)
}
@@ -151,7 +151,7 @@ func (this *Logger) Log(msg string, r *http.Request, isError bool, vars ...inter
case this.cdata <- logMsg{host, msg, isError}:
fmt.Printf("Logger, can't send msg (overflow): %s, %s, %v\n", host, msg, isError)