This is an automated email from the ASF dual-hosted git repository.

jacksontj pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  4bdf050   Clarify debug log line
4bdf050 is described below

commit 4bdf050de42eb9465bb8bf34978c5bd3b84f4956
Author: Thomas Jackson <[email protected]>
AuthorDate: Wed Jun 29 08:57:04 2016 -0700

    Clarify debug log line
    
    Records that are not RR end up saying "with 0 records", which is misleading 
because you have A record, just no RR records.
---
 iocore/hostdb/HostDB.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/hostdb/HostDB.cc b/iocore/hostdb/HostDB.cc
index c1f20a2..a1dc665 100644
--- a/iocore/hostdb/HostDB.cc
+++ b/iocore/hostdb/HostDB.cc
@@ -1299,7 +1299,7 @@ HostDBContinuation::dnsEvent(int event, HostEnt *e)
 
     int allocSize = s_size + rrsize; // The extra space we need for the rest 
of the things
 
-    Debug("hostdb", "allocating %d bytes for %s with %d records", allocSize, 
aname, valid_records);
+    Debug("hostdb", "allocating %d bytes for %s with %d RR records", 
allocSize, aname, valid_records);
     HostDBInfo *r = HostDBInfo::alloc(allocSize);
     // set up the record
     r->key = md5.hash.fold(); // always set the key

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to