mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-14 10:45:08 +00:00
stop logging HTTP requests twice (#2993)
This commit is contained in:
parent
b92c8c2613
commit
22a589b724
@ -50,8 +50,6 @@ type handlerLogger struct {
|
||||
}
|
||||
|
||||
func (h *handlerLogger) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
h.log.Log(logger.Debug, "[conn %v] %s %s", r.RemoteAddr, r.Method, r.URL.Path)
|
||||
|
||||
byts, _ := httputil.DumpRequest(r, true)
|
||||
h.log.Log(logger.Debug, "[conn %v] [c->s] %s", r.RemoteAddr, string(byts))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user