--- OpenSearch-2.7.0/distribution/src/config/jvm.options.orig +++ OpenSearch-2.7.0/distribution/src/config/jvm.options @@ -74,7 +74,7 @@ 8:-XX:GCLogFileSize=64m # JDK 9+ GC logging -9-:-Xlog:gc*,gc+age=trace,safepoint:file=${loggc}:utctime,pid,tags:filecount=32,filesize=64m +9-:-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/opensearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m # Explicitly allow security manager (https://bugs.openjdk.java.net/browse/JDK-8270380) 18-:-Djava.security.manager=allow --- OpenSearch-2.7.0/distribution/src/config/opensearch.yml.orig +++ OpenSearch-2.7.0/distribution/src/config/opensearch.yml @@ -30,11 +30,11 @@ # # Path to directory where to store the data (separate multiple locations by comma): # -${path.data} +path.data: /var/db/opensearch # # Path to log files: # -${path.logs} +path.logs: /var/log/opensearch # # ----------------------------------- Memory ----------------------------------- #