reduce logging on sending blobs

This commit is contained in:
Alex Grintsvayg 2019-01-17 16:49:19 -05:00
parent 557988d2cb
commit b0b2d21a08
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -196,7 +196,7 @@ func (s *Server) handleBlobRequest(data []byte) ([]byte, error) {
return []byte{}, err
}
log.Println("Sending blob " + request.RequestedBlob[:8])
log.Debugln("Sending blob " + request.RequestedBlob[:8])
blob, err := s.store.Get(request.RequestedBlob)
if err != nil {
@ -246,7 +246,7 @@ func (s *Server) handleCompositeRequest(data []byte) ([]byte, error) {
var blob []byte
if request.RequestedBlob != "" {
log.Println("Sending blob " + request.RequestedBlob[:8])
log.Debugln("Sending blob " + request.RequestedBlob[:8])
blob, err = s.store.Get(request.RequestedBlob)
if errors.Is(err, store.ErrBlobNotFound) {