elasticsearch/docs/reference/setup/important-settings/error-file.asciidoc
debadair bef9b8a9b3
[DOCS] Edit JVM settings info. Closes #72259 (#72350)
* [DOCS] Edit JVM settings info. Closes #72259

* Apply suggestions from code review

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Incorporated review feedback.
2021-04-28 18:30:32 -07:00

12 lines
618 B
Text

[[error-file-path]]
[discrete]
==== JVM fatal error log setting
By default, {es} configures the JVM to write fatal error logs
to the default logging directory. On <<rpm,RPM>> and <<deb,Debian>> packages,
this directory is `/var/log/elasticsearch`. On <<targz,Linux and MacOS>> and <<zip-windows,Windows>> distributions, the `logs`
directory is located under the root of the {es} installation.
These are logs produced by the JVM when it encounters a fatal error, such as a
segmentation fault. If this path is not suitable for receiving logs,
modify the `-XX:ErrorFile=...` entry in <<set-jvm-options,`jvm.options`>>.