Skip to content

Commit

Permalink
Add debug logging to Reports (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsondav authored Nov 14, 2024
1 parent 74f19f4 commit 8d29ea0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llo/plugin_reports.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ func (p *Plugin) reports(ctx context.Context, seqNr uint64, rawOutcome ocr3types
outcome.LifeCycleStage != LifeCycleStageProduction,
}

if p.Config.VerboseLogging {
p.Logger.Debugw("Emitting report", "lifeCycleStage", outcome.LifeCycleStage, "channelID", cid, "report", report, "stage", "Report", "seqNr", seqNr)
}

encoded, err := p.encodeReport(ctx, report, cd)
if err != nil {
if ctx.Err() != nil {
Expand Down

0 comments on commit 8d29ea0

Please sign in to comment.