From 2384ff6374a91b679080bcd3172f8bdb3c30594c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 27 Nov 2012 11:11:10 -0800 Subject: [PATCH] avoid unnecessary inotify warning --- tail.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tail.go b/tail.go index 039ae9a..1d69be1 100644 --- a/tail.go +++ b/tail.go @@ -59,7 +59,6 @@ func TailFile(filename string, config Config) (*Tail, error) { Config: config} if t.Poll { - log.Println("Warning: not using inotify; will poll ", filename) t.watcher = NewPollingFileWatcher(filename) } else { t.watcher = NewInotifyFileWatcher(filename)