Skip to content
Snippets Groups Projects
Unverified Commit bcf52844 authored by Jason Tedor's avatar Jason Tedor
Browse files

[elasticsearch] Print diagnostic outputs on stderr

parent 6eb53b80
No related branches found
No related tags found
No related merge requests found
......@@ -100,9 +100,9 @@ public class ElasticsearchClient extends DB {
// add it to the settings file (will overwrite the defaults).
settings.put(props);
final String clusterName = settings.get("cluster.name");
System.out.println("Elasticsearch starting node = " + clusterName);
System.out.println("Elasticsearch node path.home = " + settings.get("path.home"));
System.out.println("Elasticsearch Remote Mode = " + remoteMode);
System.err.println("Elasticsearch starting node = " + clusterName);
System.err.println("Elasticsearch node path.home = " + settings.get("path.home"));
System.err.println("Elasticsearch Remote Mode = " + remoteMode);
// Remote mode support for connecting to remote elasticsearch cluster
if (remoteMode) {
settings.put("client.transport.sniff", true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment