Are you using the TransportClient here?
May be read this: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_log4j_2_logger.html
Are you using the TransportClient here?
May be read this: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_log4j_2_logger.html
© 2020. All Rights Reserved - Elasticsearch
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.