Hi

First of all thank you for Heka!

The logstreamer plugin fails to initialize with "lstat /var/log/foo:
no such file or directory" if the log directory doesn't exist.

In my case I would like the logstreamer plugin to do nothing if the
log directory doesn't exist. And I'd like it to "wake up" and start
processing logs when it detects that the log directory now exists and
includes log files. It's like having Heka adapt to its environment.

Untested but this is the kind of patch I am thinking of:
<https://github.com/mozilla-services/heka/compare/dev...elemoine:logstreamer>.

What do you think? Would that behaviour make sense to you?

Thanks!
_______________________________________________
Heka mailing list
Heka@mozilla.org
https://mail.mozilla.org/listinfo/heka

Reply via email to