I'd second making it configurable.

Pete Bowden
--
petebow4@gmail.com


On Wed, Mar 5, 2014 at 7:41 PM, Jordan Sissel <notifications@github.com>wrote:

> In prospector.go:
>
> > @@ -37,7 +37,7 @@ func Prospect(fileconfig FileConfig, output chan *FileEvent) {
> >
> >  func resume_tracking(fileconfig FileConfig, fileinfo map[string]os.FileInfo, output chan *FileEvent) {
> >    // Start up with any registrar data.
> > -  history, err := os.Open(".logstash-forwarder")
> > +  history, err := os.Open("/var/lib/logstash-forwarder.state")
>
> Can we make this configurable instead? Doing so would avoid any future
> discussions on the 'best' place to write the state file.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/elasticsearch/logstash-forwarder/pull/166/files#r10326993>
> .
>