I would like to activate logs of elasticsearch .
When I run elasticsearch binaries, I realize that I have problems with logging : the configuration cannot be loaded !
If you need to run it in foreground, but not as service just specify configuration directory explicitly.
$ /usr/share/elasticsearch/bin/elasticsearch -Des.path.conf=/etc/elasticsearch
In this case elasticsearch will be able to find all your config files.