]> granicus.if.org Git - pdns/commitdiff
report how many milliseconds we actually waited so trace-regex output is a bit less...
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 9 Sep 2014 18:29:50 +0000 (20:29 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 9 Sep 2014 18:29:50 +0000 (20:29 +0200)
pdns/syncres.cc

index 4dc78b48521544f368dc24985acb5c9d54088f00..a60cd850d01ab70b11c695420a7fc012e3b82738 100644 (file)
@@ -934,7 +934,7 @@ int SyncRes::doResolveAt(set<string, CIStringCompare> nameservers, string auth,
               
            if(resolveret != 1) {
               if(resolveret==0) {
-                LOG(prefix<<qname<<": timeout resolving "<< (doTCP ? "over TCP" : "")<<endl);
+                LOG(prefix<<qname<<": timeout resolving after "<<lwr.d_usec/1000.0<<"msec "<< (doTCP ? "over TCP" : "")<<endl);
                 d_timeouts++;
                 s_outgoingtimeouts++;
               }