You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2017/10/25 01:26:51 UTC

[GitHub] merlimat closed pull request #851: Use info log level for message "Reconnecting after timeout" in HandlerBase

merlimat closed pull request #851: Use info log level for message "Reconnecting after timeout" in HandlerBase
URL: https://github.com/apache/incubator-pulsar/pull/851
 
 
   

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/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerBase.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerBase.java
index 5cff0f454..867424e39 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerBase.java
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerBase.java
@@ -120,7 +120,7 @@ protected void connectionClosed(ClientCnx cnx) {
             log.info("[{}] [{}] Closed connection {} -- Will try again in {} s", topic, getHandlerName(), cnx.channel(),
                     delayMs / 1000.0);
             client.timer().newTimeout(timeout -> {
-                log.warn("[{}] [{}] Reconnecting after timeout", topic, getHandlerName());
+                log.info("[{}] [{}] Reconnecting after timeout", topic, getHandlerName());
                 grabCnx();
             }, delayMs, TimeUnit.MILLISECONDS);
         }


 

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


With regards,
Apache Git Services