logging.asciidoc 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // tag::docker[]
  2. On <<docker,Docker>>, log messages go to the console and are handled by the
  3. configured Docker logging driver. To access logs, run `docker logs`.
  4. // end::docker[]
  5. // tag::deb[]
  6. For <<deb,Debian installations>>, {es} writes logs to `/var/log/elasticsearch`.
  7. // end::deb[]
  8. // tag::rpm[]
  9. For <<rpm,RPM installations>>, {es} writes logs to `/var/log/elasticsearch`.
  10. // end::rpm[]
  11. // tag::mac[]
  12. For <<targz,MacOS `.tar.gz`>> installations, {es} writes logs to
  13. `$ES_HOME/logs`.
  14. // end::mac[]
  15. // tag::brew[]
  16. For <<brew,MacOS Homebrew>> installations, {es} writes logs to
  17. `/usr/local/var/log/elasticsearch`.
  18. // end::brew[]
  19. // tag::linux[]
  20. For <<targz,Linux `.tar.gz`>> installations, {es} writes logs to
  21. `$ES_HOME/logs`.
  22. // end::linux[]
  23. // tag::win-zip[]
  24. For <<zip-windows,Windows `.zip`>> installations, {es} writes logs to
  25. `%ES_HOME%\logs`.
  26. // end::win-zip[]
  27. // tag::win-msi[]
  28. For <<windows,Windows `.msi`>> installations, {es} writes logs to
  29. `%ALLUSERSPROFILE%\Elastic\Elasticsearch\logs`.
  30. // end::win-msi[]