mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Log the literal value, not a format string (#5425)
Signed-off-by: Andy Lindeman <andy@lindeman.io>
This commit is contained in:
@@ -46,7 +46,7 @@ func (l Logger) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
||||
}
|
||||
if ok || ok1 {
|
||||
logstr := l.repl.Replace(ctx, state, rrw, rule.Format)
|
||||
clog.Infof(logstr)
|
||||
clog.Info(logstr)
|
||||
}
|
||||
|
||||
return rc, err
|
||||
|
||||
Reference in New Issue
Block a user