Skip to content

Commit f7a8879

Browse files
committed
drop logging
1 parent dd4b63b commit f7a8879

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

receiver/pyroscopereceiver/receiver.go

-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"bytes"
55
"compress/gzip"
66
"context"
7-
"encoding/hex"
87
"errors"
98
"fmt"
109
"io"
@@ -341,13 +340,6 @@ func (r *pyroscopeReceiver) getProfilesBuff(req *http.Request) (*bytes.Buffer, e
341340
var f multipart.File
342341
f, err = r.openMultipart(req)
343342
if err != nil {
344-
fmt.Println(req.URL.String())
345-
for k, v := range req.Header {
346-
fmt.Printf("Header: %s: %v", k, v)
347-
}
348-
b, _ := io.ReadAll(req.Body)
349-
//TODO: encode b to hex
350-
fmt.Printf("Body: %s\n", hex.EncodeToString(b))
351343
return nil, err
352344
}
353345
defer f.Close()

0 commit comments

Comments
 (0)