error-file.asciidoc 618 B

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