Skip to content

Commit

Permalink
Moved derby.home from {path.data}/plugins/filters/jdbc_static to {pat…
Browse files Browse the repository at this point in the history
…h.data}/plugins/shared/derby_home
  • Loading branch information
andsel committed May 5, 2022
1 parent 38b135f commit 4f72e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/filters/jdbc_static.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def prepare_data_dir

# later, when local persistent databases are allowed set this property to LS_HOME/data/jdbc-static/
# must take multi-pipelines into account and more than one config using the same jdbc-static settings
path_data = Pathname.new(LogStash::SETTINGS.get_value("path.data")).join("plugins", "filter", "jdbc_static")
path_data = Pathname.new(LogStash::SETTINGS.get_value("path.data")).join("plugins", "shared", "derby_home")
path_data.mkpath
java.lang.System.setProperty("derby.system.home", path_data.to_path)
logger.info("derby.system.home is: #{java.lang.System.getProperty("derby.system.home")}")
Expand Down

0 comments on commit 4f72e4e

Please sign in to comment.