Use a counter to track query retries, rather than a log line.