elastic / elastic/logstash

proper location for LogStash::Environment.pattern_path

Open
#4,928 1 comment 0 reactions 0 assignees View on GitHub
bug code cleanup
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

At some point `LogStash::Environment.pattern_path` was located in the bootstrap code, because of path issues but this creates some problems for code that executes outside the context of logstash, like specs, which requires `LogStash::Environment.pattern_path`.

Some temporary cut&paste fixes have been made to fox this but we need to clean this up. I also think we need to revisit all the code surrounding this `LogStash::Environment.pattern_path` which seems weird at some places.

The problem is detailed in logstash-plugins/logstash-filter-grok#72 and also relates to logstash-plugins/logstash-input-syslog#25 logstash-plugins/logstash-patterns-core#137

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.