Skip to content

Commit

Permalink
make log output less noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
smithclay committed Jun 24, 2024
1 parent edbfb19 commit bc341d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/components/servicenowexporter/servicenow.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (e *serviceNowProducer) logDataPusher(_ context.Context, md plog.Logs) erro
return nil
}

e.logger.Info("Sending events to instance...", zap.Any("events", snEvents))
e.logger.Info("Sending events to instance...", zap.Int("eventCount", len(snEvents)))
err := e.client.sendEvents(snEvents)
if err != nil {
e.logger.Error("Failed to send events to MID Server", zap.Int("logCount", len(snEvents)), zap.Error(err))
Expand Down

0 comments on commit bc341d2

Please sign in to comment.