avoid unnecessary inotify warning

This commit is contained in:
Sridhar Ratnakumar 2012-11-27 11:11:10 -08:00
parent a500d8777b
commit 2384ff6374
1 changed files with 0 additions and 1 deletions

View File

@ -59,7 +59,6 @@ func TailFile(filename string, config Config) (*Tail, error) {
Config: config} Config: config}
if t.Poll { if t.Poll {
log.Println("Warning: not using inotify; will poll ", filename)
t.watcher = NewPollingFileWatcher(filename) t.watcher = NewPollingFileWatcher(filename)
} else { } else {
t.watcher = NewInotifyFileWatcher(filename) t.watcher = NewInotifyFileWatcher(filename)