Skip to content

Commit

Permalink
drop logging
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Dec 11, 2024
1 parent dd4b63b commit f7a8879
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions receiver/pyroscopereceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"bytes"
"compress/gzip"
"context"
"encoding/hex"
"errors"
"fmt"
"io"
Expand Down Expand Up @@ -341,13 +340,6 @@ func (r *pyroscopeReceiver) getProfilesBuff(req *http.Request) (*bytes.Buffer, e
var f multipart.File
f, err = r.openMultipart(req)
if err != nil {
fmt.Println(req.URL.String())
for k, v := range req.Header {
fmt.Printf("Header: %s: %v", k, v)
}
b, _ := io.ReadAll(req.Body)
//TODO: encode b to hex
fmt.Printf("Body: %s\n", hex.EncodeToString(b))
return nil, err
}
defer f.Close()
Expand Down

0 comments on commit f7a8879

Please sign in to comment.