From 6b86e6d3b4b9b78fd2c8a74323b80d2c7075c85f Mon Sep 17 00:00:00 2001 From: liubao Date: Wed, 23 May 2018 19:48:02 +0800 Subject: [PATCH] [SCB-601]ServiceComb integrated to spring boot or tomcat will print too many logs --- .../transport/rest/client/http/RestClientInvocation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transports/transport-rest/transport-rest-client/src/main/java/org/apache/servicecomb/transport/rest/client/http/RestClientInvocation.java b/transports/transport-rest/transport-rest-client/src/main/java/org/apache/servicecomb/transport/rest/client/http/RestClientInvocation.java index db148dd80e..180c46f519 100644 --- a/transports/transport-rest/transport-rest-client/src/main/java/org/apache/servicecomb/transport/rest/client/http/RestClientInvocation.java +++ b/transports/transport-rest/transport-rest-client/src/main/java/org/apache/servicecomb/transport/rest/client/http/RestClientInvocation.java @@ -98,11 +98,11 @@ public void invoke(Invocation invocation, AsyncResponse asyncResp) throws Except asyncResp.fail(invocation.getInvocationType(), e); }); clientRequest.connectionHandler(connection -> { - LOGGER.info("http connection connected, local:{}, remote:{}.", + LOGGER.debug("http connection connected, local:{}, remote:{}.", connection.localAddress(), connection.remoteAddress()); connection.closeHandler(v -> { - LOGGER.info("http connection closed, local:{}, remote:{}.", + LOGGER.debug("http connection closed, local:{}, remote:{}.", connection.localAddress(), connection.remoteAddress()); });