From 27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 9 Mar 2018 20:42:27 +0000 Subject: logging: Don't use PrintF when not needed (#1599) These log print don't have any verbs, so just use plain Print --- plugin/file/notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/file/notify.go') diff --git a/plugin/file/notify.go b/plugin/file/notify.go index 68850e0d3..1d60d20d5 100644 --- a/plugin/file/notify.go +++ b/plugin/file/notify.go @@ -53,7 +53,7 @@ func notify(zone string, to []string) error { continue } if err := notifyAddr(c, m, t); err != nil { - log.Printf("[ERROR] " + err.Error()) + log.Print("[ERROR] " + err.Error()) } else { log.Printf("[INFO] Sent notify for zone %q to %q", zone, t) } -- cgit v1.2.3