diff options
author | 2018-03-09 20:42:27 +0000 | |
---|---|---|
committer | 2018-03-09 20:42:27 +0000 | |
commit | 27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3 (patch) | |
tree | 857a278e973da564a844a594f38c37ce897a4f8a /plugin/cache/cache.go | |
parent | 87790dd47cf8d8a1bc6686a9bc95965264b57fe1 (diff) | |
download | coredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.tar.gz coredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.tar.zst coredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.zip |
logging: Don't use PrintF when not needed (#1599)
These log print don't have any verbs, so just use plain Print
Diffstat (limited to 'plugin/cache/cache.go')
-rw-r--r-- | plugin/cache/cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/cache.go b/plugin/cache/cache.go index a8776afac..fd3292b47 100644 --- a/plugin/cache/cache.go +++ b/plugin/cache/cache.go @@ -177,7 +177,7 @@ func (w *ResponseWriter) set(m *dns.Msg, key int, mt response.Type, duration tim // Write implements the dns.ResponseWriter interface. func (w *ResponseWriter) Write(buf []byte) (int, error) { - log.Printf("[WARNING] Caching called with Write: not caching reply") + log.Print("[WARNING] Caching called with Write: not caching reply") if w.prefetch { return 0, nil } |