WillemJiang closed pull request #724: [SCB-601]ServiceComb integrated to spring
boot or tomcat will print too many logs
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/724
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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 db148dd80..180c46f51 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());
});
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services