From 58deed9eabf23e21bafb7cac85ad7bef59ff3912 Mon Sep 17 00:00:00 2001 From: Roee Gadot Date: Thu, 19 Aug 2021 09:14:33 +0300 Subject: [PATCH] no message --- tap/extensions/http/handlers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tap/extensions/http/handlers.go b/tap/extensions/http/handlers.go index 49051dc10..fd692a4c0 100644 --- a/tap/extensions/http/handlers.go +++ b/tap/extensions/http/handlers.go @@ -84,13 +84,13 @@ func handleHTTP1ClientStream(b *bufio.Reader, tcpID *api.TcpID, emitter api.Emit req.Body = io.NopCloser(bytes.NewBuffer(body)) // rewind s := len(body) if err != nil { - SilentError("HTTP-request-body", "stream %s Got body err: %s", tcpID.Ident, err) + rlog.Debugf("[HTTP-request-body] stream %s Got body err: %s", tcpID.Ident, err) } if err := req.Body.Close(); err != nil { - SilentError("HTTP-request-body-close", "stream %s Failed to close request body: %s", tcpID.Ident, err) + rlog.Debugf("[HTTP-request-body-close] stream %s Failed to close request body: %s", tcpID.Ident, err) } encoding := req.Header["Content-Encoding"] - Debug("HTTP/1 Request: %s %s %s (Body:%d) -> %s", tcpID.Ident, req.Method, req.URL, s, encoding) + rlog.Tracef(1, "HTTP/1 Request: %s %s %s (Body:%d) -> %s", tcpID.Ident, req.Method, req.URL, s, encoding) ident := fmt.Sprintf( "%s->%s %s->%s %d",