[[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 <> and <> packages, this directory is `/var/log/elasticsearch`. On <> and <> 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 <>.