mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-21 13:19:10 +07:00
style: beautify log
This commit is contained in:
@ -190,7 +190,7 @@ loop:
|
||||
// Update DnsCache.
|
||||
if c.log.IsLevelEnabled(logrus.TraceLevel) {
|
||||
c.log.WithFields(logrus.Fields{
|
||||
"qname": q.Name,
|
||||
"_qname": q.Name,
|
||||
"rcode": msg.RCode,
|
||||
"ans": FormatDnsRsc(msg.Answers),
|
||||
"auth": FormatDnsRsc(msg.Authorities),
|
||||
@ -571,7 +571,7 @@ func (c *DnsController) dialSend(req *udpRequest, data []byte, id uint16, upstre
|
||||
"outbound": dialArgument.bestOutbound.Name,
|
||||
"policy": dialArgument.bestOutbound.GetSelectionPolicy(),
|
||||
"dialer": dialArgument.bestDialer.Property().Name,
|
||||
"qname": qname,
|
||||
"_qname": qname,
|
||||
"qtype": qtype,
|
||||
"pid": req.routingResult.Pid,
|
||||
"pname": ProcessName2String(req.routingResult.Pname[:]),
|
||||
|
Reference in New Issue
Block a user