aboutsummaryrefslogtreecommitdiff
path: root/plugin/dnssec/responsewriter.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/dnssec/responsewriter.go')
-rw-r--r--plugin/dnssec/responsewriter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/dnssec/responsewriter.go b/plugin/dnssec/responsewriter.go
index bf408ecf3..e3bb75800 100644
--- a/plugin/dnssec/responsewriter.go
+++ b/plugin/dnssec/responsewriter.go
@@ -1,10 +1,10 @@
package dnssec
import (
- "log"
"time"
"github.com/coredns/coredns/plugin"
+ "github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
@@ -40,7 +40,7 @@ func (d *ResponseWriter) WriteMsg(res *dns.Msg) error {
// Write implements the dns.ResponseWriter interface.
func (d *ResponseWriter) Write(buf []byte) (int, error) {
- log.Print("[WARNING] Dnssec called with Write: not signing reply")
+ log.Warning("Dnssec called with Write: not signing reply")
n, err := d.ResponseWriter.Write(buf)
return n, err
}