Skip to content

Commit

Permalink
Move high volume event logs to Trace level
Browse files Browse the repository at this point in the history
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
(cherry picked from commit 4dcf089)
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
  • Loading branch information
kiashok committed Feb 14, 2024
1 parent 61cb5d3 commit 982e0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/exchange/exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (e *Exchange) Forward(ctx context.Context, envelope *events.Envelope) (err
if err != nil {
logger.WithError(err).Error("error forwarding event")
} else {
logger.Debug("event forwarded")
logger.Trace("event forwarded")
}
}()

Expand Down Expand Up @@ -111,7 +111,7 @@ func (e *Exchange) Publish(ctx context.Context, topic string, event events.Event
if err != nil {
logger.WithError(err).Error("error publishing event")
} else {
logger.Debug("event published")
logger.Trace("event published")
}
}()

Expand Down

0 comments on commit 982e0cf

Please sign in to comment.