Skip to content

Commit

Permalink
Hotfix: add back transmitter logging
Browse files Browse the repository at this point in the history
  • Loading branch information
samsondav committed Feb 7, 2024
1 parent 0f99c78 commit 8384759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/relay/evm/mercury/transmitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func (mt *mercuryTransmitter) runQueueLoop() {
b.Reset()
if res.Error == "" {
mt.transmitSuccessCount.Inc()
mt.lggr.Tracew("Transmit report success", "req", t.Req, "response", res, "reportCtx", t.ReportCtx)
mt.lggr.Debugw("Transmit report success", "req", t.Req, "response", res, "reportCtx", t.ReportCtx)
} else {
// We don't need to retry here because the mercury server
// has confirmed it received the report. We only need to retry
Expand All @@ -317,7 +317,7 @@ func (mt *mercuryTransmitter) runQueueLoop() {
case DuplicateReport:
mt.transmitSuccessCount.Inc()
mt.transmitDuplicateCount.Inc()
mt.lggr.Tracew("Transmit report succeeded; duplicate report", "code", res.Code)
mt.lggr.Debugw("Transmit report success; duplicate report", "req", t.Req, "response", res, "reportCtx", t.ReportCtx)
default:
transmitServerErrorCount.WithLabelValues(mt.feedID.String(), fmt.Sprintf("%d", res.Code)).Inc()
mt.lggr.Errorw("Transmit report failed; mercury server returned error", "response", res, "reportCtx", t.ReportCtx, "err", res.Error, "code", res.Code)
Expand Down

0 comments on commit 8384759

Please sign in to comment.