From: Otto Moerbeek Date: Fri, 14 Apr 2023 12:03:22 +0000 (+0200) Subject: Log if the answer was marked variable by SyncRes and if it was stored into X-Git-Tag: rec-4.9.0-beta1~20^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd34dbb6d4e17eb95b3a72f93285069231815c13;p=thirdparty%2Fpdns.git Log if the answer was marked variable by SyncRes and if it was stored into the packet cache (if !quiet) --- diff --git a/pdns/recursordist/pdns_recursor.cc b/pdns/recursordist/pdns_recursor.cc index f6e0c6bb03..a52d3289a5 100644 --- a/pdns/recursordist/pdns_recursor.cc +++ b/pdns/recursordist/pdns_recursor.cc @@ -1802,7 +1802,9 @@ void startDoResolve(void* p) "tcpout", Logging::Loggable(sr.d_tcpoutqueries), "dotout", Logging::Loggable(sr.d_dotoutqueries), "rcode", Logging::Loggable(res), - "validationState", Logging::Loggable(sr.getValidationState())); + "validationState", Logging::Loggable(sr.getValidationState()), + "answer-is-variable", Logging::Loggable(sr.wasVariable()), + "into-packetcache", Logging::Loggable(g_packetCache && !variableAnswer && !sr.wasVariable())); } }