Skip to content

Commit

Permalink
xdns: suppress very verbose logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Oct 31, 2023
1 parent d49ff14 commit 6ac4ba2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions intra/xdns/dnsutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func IPHints(msg *dns.Msg, x dns.SVCBKey) []*netip.Addr {
}
qname, _ := NormalizeQName(QName(msg))
if !HasSVCBQuestion(msg) && !HasHTTPQuestion(msg) {
log.V("dnsutil: svcb/https(%s): no record(%d)", qname, len(msg.Answer))
log.N("dnsutil: svcb/https(%s): no record(%d)", qname, len(msg.Answer))
return nil
}

Expand Down Expand Up @@ -876,7 +876,7 @@ func HasSVCBQuestion(msg *dns.Msg) (ok bool) {
} else {
q := msg.Question[0]
ok = IsSVCBQuestion(&q)
log.V("dnsutil: svcb: %v ok? %t", q, ok)
log.N("dnsutil: svcb: %v ok? %t", q, ok)
}
return
}
Expand All @@ -888,7 +888,7 @@ func HasHTTPQuestion(msg *dns.Msg) (ok bool) {
} else {
q := msg.Question[0]
ok = IsHTTPQuestion(&q)
log.V("dnsutil: https: %v ok? %t", q, ok)
log.N("dnsutil: https: %v ok? %t", q, ok)
}
return
}
Expand Down

0 comments on commit 6ac4ba2

Please sign in to comment.