aboutsummaryrefslogtreecommitdiff
path: root/plugin/dnstap/dnstapio/io.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/dnstap/dnstapio/io.go')
-rw-r--r--plugin/dnstap/dnstapio/io.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/dnstap/dnstapio/io.go b/plugin/dnstap/dnstapio/io.go
index 9a0013ba5..57a7302ac 100644
--- a/plugin/dnstap/dnstapio/io.go
+++ b/plugin/dnstap/dnstapio/io.go
@@ -70,7 +70,7 @@ func (dio *dnstapIO) newConnect() error {
// Connect connects to the dnstop endpoint.
func (dio *dnstapIO) Connect() {
if err := dio.newConnect(); err != nil {
- log.Printf("[ERROR] No connection to dnstap endpoint")
+ log.Print("[ERROR] No connection to dnstap endpoint")
}
go dio.serve()
}
@@ -102,7 +102,7 @@ func (dio *dnstapIO) flushBuffer() {
if err := dio.newConnect(); err != nil {
return
}
- log.Printf("[INFO] Reconnected to dnstap")
+ log.Print("[INFO] Reconnected to dnstap")
}
if err := dio.enc.flushBuffer(); err != nil {
@@ -111,7 +111,7 @@ func (dio *dnstapIO) flushBuffer() {
if err := dio.newConnect(); err != nil {
log.Printf("[ERROR] Cannot connect to dnstap: %s", err)
} else {
- log.Printf("[INFO] Reconnected to dnstap")
+ log.Print("[INFO] Reconnected to dnstap")
}
}
}