cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sw...@apache.org
Subject [1/4] git commit: updated refs/heads/master to f313fac
Date Tue, 12 Apr 2016 12:59:03 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master d1def0a73 -> f313facb8


Additional exception logging for Cloudstack-9285


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5f062f1b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5f062f1b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5f062f1b

Branch: refs/heads/master
Commit: 5f062f1b9e338d2c8dca20c48d891d400baf2389
Parents: 4db1c01
Author: Simon Weller <sweller@ena.com>
Authored: Tue Apr 5 18:05:38 2016 -0500
Committer: Simon Weller <sweller@ena.com>
Committed: Mon Apr 11 17:05:45 2016 -0500

----------------------------------------------------------------------
 agent/src/com/cloud/agent/Agent.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5f062f1b/agent/src/com/cloud/agent/Agent.java
----------------------------------------------------------------------
diff --git a/agent/src/com/cloud/agent/Agent.java b/agent/src/com/cloud/agent/Agent.java
index 2dee5a4..7fab5f4 100644
--- a/agent/src/com/cloud/agent/Agent.java
+++ b/agent/src/com/cloud/agent/Agent.java
@@ -227,6 +227,7 @@ public class Agent implements HandlerFactory, IAgentControl {
         try {
             _connection.start();
         } catch (final NioConnectionException e) {
+            s_logger.warn("NIO Connection Exception  " + e);
             s_logger.info("Attempted to connect to the server, but received an unexpected
exception, trying again...");
         }
         while (!_connection.isStartup()) {
@@ -235,6 +236,7 @@ public class Agent implements HandlerFactory, IAgentControl {
             try {
                 _connection.start();
             } catch (final NioConnectionException e) {
+                s_logger.warn("NIO Connection Exception  " + e);
                 s_logger.info("Attempted to connect to the server, but received an unexpected
exception, trying again...");
             }
         }
@@ -412,6 +414,7 @@ public class Agent implements HandlerFactory, IAgentControl {
             try {
                 _connection.start();
             } catch (final NioConnectionException e) {
+                s_logger.warn("NIO Connection Exception  " + e);
                 s_logger.info("Attempted to connect to the server, but received an unexpected
exception, trying again...");
             }
             _shell.getBackoffAlgorithm().waitBeforeRetry();


Mime
View raw message