ElasticSearch crashing - where are the log files?

I'm running ElasticSearch on my EC2 servers. I'm having trouble understanding the logging / debugging of ElasticSearch.

Occasionally, the service disappears, after having been running fine for days (I expect that it's crashing). Eg:

curl -XGET http://localhost:9200/

curl: (7) couldn't connect to host
Per this ElasticSearch page, I expected that my logs would be available in /var/log/elasticsearch... however...

ls /var/data/elasticsearch

ls: /var/data/elasticsearch: No such file or directory
I have not changed the /config/logging.yml file in any way. ElasticSearch is running as root, so there should be no problem with permissions.

What am I missing?

Answered on stackoverflow:
amazon ec2 - ElasticSearch disappearing / crashing -- cannot find log files or any other information - Stack Overflow

On Monday, March 4, 2013 8:49:36 PM UTC-5, Zane Claes wrote:

I'm running Elasticsearch on my EC2 servers. I'm having trouble
understanding
the logging / debugging of Elasticsearch.

Occasionally, the service disappears, after having been running fine for
days (I expect that it's crashing). Eg:

curl -XGET http://localhost:9200/

curl: (7) couldn't connect to host
Per this Elasticsearch page
http://www.elasticsearch.org/guide/reference/setup/configuration.html
, I
expected that my logs would be available in /var/log/elasticsearch...
however...

ls /var/data/elasticsearch

ls: /var/data/elasticsearch: No such file or directory
I have not changed the /config/logging.yml file in any way. Elasticsearch
is
running as root, so there should be no problem with permissions.

What am I missing?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch-crashing-where-are-the-log-files-tp4031005.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.