mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-26 04:52:00 -08:00
stop logging HTTP requests twice (#2993)
This commit is contained in:
parent
b92c8c2613
commit
22a589b724
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue