Imports github.com/fsnotify/fsnotify github.com/go-errors/errors github.com/hpcloud/tail Standard library imports encoding/json fmt io/ioutil log os regexp strings time