* initialize `Size` with the then-size of the file when ChangeEvents
is called. remember that this function is expected to be called many
times, one after another. this also passes the TestReSeekInotify
test.
* do not ignore errors from os.Stat. we panic errors like these now,
but ideally should switch to tomb.Tomb for letting the user handle
them.
* use inotify for system log aggregation
* continue using polling for app log aggregation (overlayfs bug)
* but increase wait time to 250ms
Squashed commit of the following:
commit 8ccd0359e559472be0066ad889ac1772e13ff20b
Author: Sridhar Ratnakumar <sridharr@activestate.com>
Date: Thu Oct 11 21:28:41 2012 -0700
complete the polling watcher
commit 0a5d5aa488e96aa247c7c88c25cd5a30219f5344
Author: Sridhar Ratnakumar <sridharr@activestate.com>
Date: Thu Oct 11 20:50:08 2012 -0700
hackish, untested, incomplete implementation of pollig filewatcher
.. to be tested on macbook.
commit c7ac3851452ed23a8b099773cc9c9f23734a89f5
Author: Sridhar Ratnakumar <sridharr@activestate.com>
Date: Thu Oct 11 15:45:59 2012 -0700
tail: use inotify instead of polling
reduces cpu usage and fixes Bug #95803