fix ESClientMgr logger
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -46,7 +46,7 @@ public class ESClientMgr { | @@ -46,7 +46,7 @@ public class ESClientMgr { | ||
46 | String servers = configer.getSearchEsServers(); | 46 | String servers = configer.getSearchEsServers(); |
47 | Assert.notNull(clusterName, "ClusterName for ES cannot be null."); | 47 | Assert.notNull(clusterName, "ClusterName for ES cannot be null."); |
48 | Assert.notNull(servers, "Servers for ES cannot be null."); | 48 | Assert.notNull(servers, "Servers for ES cannot be null."); |
49 | - logger.warn("begin to createIndexClient, clusterName is [{}],servers is [{}],name is[{}]", clusterName, servers, name); | 49 | + logger.error("begin to createIndexClient, clusterName is [{}],servers is [{}],name is[{}]", clusterName, servers, name); |
50 | return factory.createIndexClient(clusterName, servers, name); | 50 | return factory.createIndexClient(clusterName, servers, name); |
51 | }); | 51 | }); |
52 | } | 52 | } |
-
Please register or login to post a comment