Skip to content

Commit

Permalink
serializer: lower the verbosity of the log of the metadata and proces…
Browse files Browse the repository at this point in the history
…s metadata payload successfully sent. (#31556)
  • Loading branch information
remeh authored Dec 2, 2024
1 parent 18d4cdd commit 12bde50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/serializer/serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ func (s *Serializer) sendMetadata(m marshaler.JSONMarshaler, submit func(payload
return err
}

log.Infof("Sent metadata payload, size (raw/compressed): %d/%d bytes.", len(payload), len(compressedPayload))
log.Debugf("Sent metadata payload, size (raw/compressed): %d/%d bytes.", len(payload), len(compressedPayload))
return nil
}

Expand All @@ -529,8 +529,7 @@ func (s *Serializer) SendProcessesMetadata(data interface{}) error {
return err
}

log.Infof("Sent processes metadata payload, size: %d bytes.", len(payload))
log.Debugf("Sent processes metadata payload, content: %v", string(payload))
log.Debugf("Sent processes metadata payload, size: %d bytes, content: %v", len(payload), string(payload))
return nil
}

Expand Down

0 comments on commit 12bde50

Please sign in to comment.