logging: Don't use PrintF when not needed (#1599)

These log print don't have any verbs, so just use plain Print
This commit is contained in:
Miek Gieben 2018-03-09 20:42:27 +00:00 committed by GitHub
parent 87790dd47c
commit 27f58d8dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -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
}