Skip to content

Commit

Permalink
Merge pull request #93 from sbs2001/log_decisions_in_debug
Browse files Browse the repository at this point in the history
Log received decisions at debug level
  • Loading branch information
AlteredCoder authored May 19, 2022
2 parents 6f7adb1 + 8a72d4f commit 4144676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func (worker *CloudflareWorker) insertDecision(decision *models.Decision, decisi
if decisionIsExpired {
decisionStatus = "expired"
}
worker.Logger.Infof("found %s decision with value=%s, scope=%s, type=%s", decisionStatus, *decision.Value, *decision.Scope, *decision.Type)
worker.Logger.Debugf("found %s decision with value=%s, scope=%s, type=%s", decisionStatus, *decision.Value, *decision.Scope, *decision.Type)
*container = append(*container, decision)
}

Expand Down

0 comments on commit 4144676

Please sign in to comment.