原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/error-file-path.html, 原文档版权归 www.elastic.co 所有

JVM fatal error logsedit

By default, Elasticsearch configures the JVM to write fatal error logs to the default logging directory (this is /var/log/elasticsearch for the RPM and Debian package distributions, and the logs directory under the root of the Elasticsearch installation for the tar and zip archive distributions). These are logs produced by the JVM when it encounters a fatal error (e.g., a segmentation fault). If this path is not suitable for receiving logs, you should modify the entry -XX:ErrorFile=... in jvm.options to an alternate path.