Skip to content

Commit

Permalink
xdns/dnsutil: m verbose log
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Oct 23, 2024
1 parent bd409fd commit 5a4b1ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion intra/xdns/dnsutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,11 @@ func IPHints(msg *dns.Msg, x dns.SVCBKey) []*netip.Addr {
}
}
}
log.D("dnsutil: svcb/https(%s): ip hints %v from %d answers", qname, ips, len(msg.Answer))
note := log.D
if len(ips) > 0 {
note = log.VV
}
note("dnsutil: svcb/https(%s): ip hints %v from %d answers", qname, ips, len(msg.Answer))
return ips
}

Expand Down

0 comments on commit 5a4b1ec

Please sign in to comment.