aboutsummaryrefslogtreecommitdiff
path: root/plugin/root/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/root/root.go')
-rw-r--r--plugin/root/root.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/root/root.go b/plugin/root/root.go
index a4f8ef808..6b73cfb27 100644
--- a/plugin/root/root.go
+++ b/plugin/root/root.go
@@ -5,11 +5,13 @@ import (
"github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin"
- "github.com/coredns/coredns/plugin/pkg/log"
+ clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy"
)
+var log = clog.NewWithPlugin("root")
+
func init() {
caddy.RegisterPlugin("root", caddy.Plugin{
ServerType: "dns",