Imports github.com/pkg/errors go.uber.org/zap github.com/elastic/beats/libbeat/paths github.com/elastic/beats/libbeat/common/file go.uber.org/zap/zaptest/observer go.uber.org/zap/zapcore Standard library imports flag fmt io/ioutil log os path/filepath strings sync/atomic time unsafe log/syslog