diff options
Diffstat (limited to 'plugin/log/log_test.go')
-rw-r--r-- | plugin/log/log_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/log/log_test.go b/plugin/log/log_test.go index 484135cd5..d1ff8d36d 100644 --- a/plugin/log/log_test.go +++ b/plugin/log/log_test.go @@ -8,12 +8,15 @@ import ( "testing" "github.com/coredns/coredns/plugin/pkg/dnstest" + clog "github.com/coredns/coredns/plugin/pkg/log" "github.com/coredns/coredns/plugin/pkg/response" "github.com/coredns/coredns/plugin/test" "github.com/miekg/dns" ) +func init() { clog.Discard() } + func TestLoggedStatus(t *testing.T) { var f bytes.Buffer rule := Rule{ |