Skip to content

Commit

Permalink
log sqs messages at 'debug' rather than 'info' level
Browse files Browse the repository at this point in the history
Fixes #2790.
  • Loading branch information
rade committed Aug 7, 2017
1 parent 1318884 commit c312579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/multitenant/sqs_control_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (cr *sqsControlRouter) sendMessage(ctx context.Context, queueURL *string, m
if err := json.NewEncoder(&buf).Encode(message); err != nil {
return err
}
log.Infof("sendMessage to %s: %s", *queueURL, buf.String())
log.Debugf("sendMessage to %s: %s", *queueURL, buf.String())

return instrument.TimeRequestHistogram(ctx, "SQS.SendMessage", sqsRequestDuration, func(_ context.Context) error {
_, err := cr.service.SendMessage(&sqs.SendMessageInput{
Expand Down

0 comments on commit c312579

Please sign in to comment.