[ 
https://issues.apache.org/jira/browse/SCB-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490485#comment-16490485
 ] 

ASF GitHub Bot commented on SCB-601:
------------------------------------

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:
us...@infra.apache.org


> ServiceComb integrated to spring boot or tomcat will print too many logs
> ------------------------------------------------------------------------
>
>                 Key: SCB-601
>                 URL: https://issues.apache.org/jira/browse/SCB-601
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: liubao
>            Assignee: liubao
>            Priority: Major
>
> 2018-05-23 19:40:31.495 INFO 4812 --- [ntloop-thread-0] 
> o.a.s.t.r.c.http.RestClientInvocation : http connection connected, 
> local:192.168.0.204:59718, remote:192.168.0.204:7211.
> 2018-05-23 19:40:31.500 INFO 4812 --- [ntloop-thread-0] 
> o.a.s.t.r.c.http.RestClientInvocation : http connection closed, 
> local:192.168.0.204:59705, remote:192.168.0.204:7211.
> 2
>  
> In tomcat or some other HTTP short connections scenario, this logs comes too 
> frequently/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to