linux - Elasticsearch can't write to log files -
I would like to activate the log of elasticsearch. When I run the elastic search binary, I know that I have problems with logging: the configuration can not be loaded! Here is the output: ~ $ sudo / usr / share / elasticsearch / bin / elasticsearch failed to configure logging ... org.elasticsearch.ElasticsearchException: org. on elasticsearch.common.logging.log4j.LogConfigurator.configure org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig (LogConfigurator.java:117) on org.elasticsearch.bootstrap.Elasticsearch.main failed to load configuration logging on ( because of org.elasticsearch.bootstrap.Bootstrap.main (Bootstrap.java:178) on org.elasticsearch.bootstrap.Bootstrap.setupLogging (Bootstrap.java:94) on LogConfigurator.java:81) (Elasticsearch.java:32) : java.nio.file.NoSuchFileException: sun.nio.fs.UnixException.translateToIOException at / usr / share / elasticsearch / config (UnixEx ception.java:86) sun.nio.fs.UnixException.rethrowAsIOException ( UnixExce...