Elasticsearch can't write to log files

后端 未结 11 1650
既然无缘
既然无缘 2021-02-01 02:00

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 !

11条回答
  •  抹茶落季
    2021-02-01 02:20

    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.

提交回复
热议问题