qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r1103899 - in /qpid/trunk/qpid/java: broker/src/main/java/org/apache/qpid/server/configuration/ common/src/main/java/org/apache/qpid/transport/
Date Mon, 16 May 2011 21:26:31 GMT
Author: robbie
Date: Mon May 16 21:26:31 2011
New Revision: 1103899

URL: http://svn.apache.org/viewvc?rev=1103899&view=rev
Log:
QPID-3261: decrease severity / improve clarity of log messages.

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java
    qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ClientDelegate.java
    qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/SessionDelegate.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java?rev=1103899&r1=1103898&r2=1103899&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/configuration/ServerConfiguration.java
Mon May 16 21:26:31 2011
@@ -148,7 +148,7 @@ public class ServerConfiguration extends
         }
         catch (Exception e)
         {
-            _logger.error("Signal HUP not supported for OS: " + System.getProperty("os.name"));
+            _logger.info("Signal HUP not supported for OS: " + System.getProperty("os.name"));
             // We're on something that doesn't handle SIGHUP, how sad, Windows.
         }
     }

Modified: qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ClientDelegate.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ClientDelegate.java?rev=1103899&r1=1103898&r2=1103899&view=diff
==============================================================================
--- qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ClientDelegate.java
(original)
+++ qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ClientDelegate.java
Mon May 16 21:26:31 2011
@@ -247,7 +247,7 @@ public class ClientDelegate extends Conn
         int i = heartbeat;
         if (i == 0)
         {
-            log.warn("Idle timeout is zero. Heartbeats are disabled");
+            log.info("Idle timeout is 0 sec. Heartbeats are disabled.");
             return 0; // heartbeats are disabled.
         }
         else if (i >= min && i <= max)
@@ -256,8 +256,8 @@ public class ClientDelegate extends Conn
         }
         else
         {
-            log.warn("Ignoring the idle timeout %s set by the connection," +
-            		" using the brokers max value %s", i,max);
+            log.info("The broker does not support the configured connection idle timeout
of %s sec," +
+                     " using the brokers max supported value of %s sec instead.", i,max);
             return max;
         }
     }

Modified: qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/SessionDelegate.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/SessionDelegate.java?rev=1103899&r1=1103898&r2=1103899&view=diff
==============================================================================
--- qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/SessionDelegate.java
(original)
+++ qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/SessionDelegate.java
Mon May 16 21:26:31 2011
@@ -202,11 +202,11 @@ public class SessionDelegate
 
     public void closed(Session session)
     {
-        log.warn("CLOSED: [%s]", session);
+        log.debug("CLOSED: [%s]", session);
     }
 
     public void detached(Session session)
     {
-        log.warn("DETACHED: [%s]", session);
+        log.debug("DETACHED: [%s]", session);
     }
 }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message