mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- ENV["LOGSTASH_DIR"] is deprecated.
This commit is contained in:
parent
6d685bfdcf
commit
dc27987d9e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module LogStash
|
|||
def initialize(config)
|
||||
check_hash_keys(config, REQUIRED_KEYS, OPTIONAL_KEYS)
|
||||
|
||||
@home = config[:logstash_dir] || ENV["LOGSTASH_DIR"] || "/opt/logstash"
|
||||
@home = config[:logstash_dir] || "/opt/logstash"
|
||||
@pattern_dir = config[:pattern_dir] || @home
|
||||
@attrs = {"log:type" => config[:type],
|
||||
"log:encoding" => config[:encoding]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue