mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
OpenSearch is a fork of Elasticsearch which aims to be a Distributed, RESTful, Search Engine built on top of Apache Lucene.
23 lines
768 B
Text
23 lines
768 B
Text
--- config/jvm.options.orig 2021-07-30 14:01:34 UTC
|
|
+++ config/jvm.options
|
|
@@ -61,17 +61,17 @@
|
|
-XX:HeapDumpPath=data
|
|
|
|
# specify an alternative path for JVM fatal error logs
|
|
--XX:ErrorFile=logs/hs_err_pid%p.log
|
|
+-XX:ErrorFile=/hs_err_pid%p.log
|
|
|
|
## JDK 8 GC logging
|
|
8:-XX:+PrintGCDetails
|
|
8:-XX:+PrintGCDateStamps
|
|
8:-XX:+PrintTenuringDistribution
|
|
8:-XX:+PrintGCApplicationStoppedTime
|
|
-8:-Xloggc:logs/gc.log
|
|
+8:-Xloggc:${OPENSEARCH_TMPDIR}/gc.log
|
|
8:-XX:+UseGCLogFileRotation
|
|
8:-XX:NumberOfGCLogFiles=32
|
|
8:-XX:GCLogFileSize=64m
|
|
|
|
# JDK 9+ GC logging
|
|
-9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m
|
|
+9-:-Xlog:gc*,gc+age=trace,safepoint:file=${OPENSEARCH_TMPDIR}/gc.log:utctime,pid,tags:filecount=32,filesize=64m
|