From: Klaus Darilion Date: Tue, 31 Jul 2018 21:36:03 +0000 (+0000) Subject: When the final result of the slave-check get logged, always add the respective serial... X-Git-Tag: dnsdist-1.3.3~172^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d982f38bab215a5af9af362572954b496da29a;p=thirdparty%2Fpdns.git When the final result of the slave-check get logged, always add the respective serials to the log line. This is very useful when debugging slave-check issues --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 9dd57548b8..ad19a920ea 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -743,7 +743,7 @@ void CommunicatorClass::slaveRefresh(PacketHandler *P) requeue.insert(di); } else { - g_log<setFresh(di.id); } else if(maxInception == ssr.d_freshness[di.id].theirInception && maxExpire == ssr.d_freshness[di.id].theirExpire) { - g_log<setFresh(di.id); } else if(maxExpire >= now && ! ssr.d_freshness[di.id].theirInception ) { - g_log<setFresh(di.id); } else if(maxInception && ! ssr.d_freshness[di.id].theirInception ) { - g_log<