diff options
Diffstat (limited to 'plugin/log/log.go')
-rw-r--r-- | plugin/log/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/log/log.go b/plugin/log/log.go index 028188d51..f52a70344 100644 --- a/plugin/log/log.go +++ b/plugin/log/log.go @@ -57,7 +57,7 @@ func (l Logger) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) // If we don't set up a class in config, the default "all" will be added // and we shouldn't have an empty rule.Class. if rule.Class[response.All] || rule.Class[class] { - rep := replacer.New(ctx, r, rrw, CommonLogEmptyValue) + rep := replacer.New(r, rrw, CommonLogEmptyValue) rule.Log.Println(rep.Replace(rule.Format)) } |