I run elasticsearch server embedded in our application.
The elasticsearch.yml and logging.yml are in the classpath.
However I can't see the logs.
What can be a problem?
We use log4j in our application and I would like to use it for
elasticsearch logging.
I see in the debug that Slf4jESLogger is created.
When you embed elasticsearch in your application, then it won't do any
configuration for the logging system, it will simply rely on what you
configure for your logging system. It will automatically delegate based on
the logging libraries you have, and if you have slf4j, then it will use that
one, if not, and you have log4j, it will use log4j.
I run elasticsearch server embedded in our application.
The elasticsearch.yml and logging.yml are in the classpath.
However I can't see the logs.
What can be a problem?
We use log4j in our application and I would like to use it for
elasticsearch logging.
I see in the debug that Slf4jESLogger is created.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.