cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthon...@apache.org
Subject git commit: updated refs/heads/master to d05549e
Date Fri, 18 Jul 2014 23:07:34 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 849049a2f -> d05549e16


XS task object may disappear, change the log level


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

Branch: refs/heads/master
Commit: d05549e16b9b892a52d64d6915770f804b019a05
Parents: 849049a
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Fri Jul 18 16:05:54 2014 -0700
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Fri Jul 18 16:05:54 2014 -0700

----------------------------------------------------------------------
 .../hypervisor/xenserver/resource/CitrixResourceBase.java   | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d05549e1/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
index 5881d68..a2b9625 100644
--- a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
+++ b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
@@ -676,8 +676,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
                 try {
                     task.destroy(conn);
                 } catch (Exception e1) {
-                    s_logger.warn("unable to destroy task(" + task.toString()
-                            + ") on host(" + _host.uuid + ") due to ", e1);
+                    s_logger.debug("unable to destroy task(" + task.toString() + ") on host("
+ _host.uuid + ") due to " +  e1.toString());
                 }
             }
         }
@@ -3502,8 +3501,8 @@ public abstract class CitrixResourceBase implements ServerResource,
HypervisorRe
             if (task != null) {
                 try {
                     task.destroy(conn);
-                } catch (Exception e1) {
-                    s_logger.warn("unable to destroy task(" + task.toString() + ") on host("
+ _host.uuid + ") due to ", e1);
+                } catch (Exception e) {
+                    s_logger.debug("unable to destroy task(" + task.toString() + ") on host("
+ _host.uuid + ") due to " + e.toString());
                 }
             }
         }
@@ -3542,7 +3541,7 @@ public abstract class CitrixResourceBase implements ServerResource,
HypervisorRe
                 try {
                     task.destroy(conn);
                 } catch (Exception e1) {
-                    s_logger.warn("unable to destroy task(" + task.toString() + ") on host("
+ _host.uuid + ") due to ", e1);
+                    s_logger.debug("unable to destroy task(" + task.toString() + ") on host("
+ _host.uuid + ") due to " + e1.toString());
                 }
             }
         }


Mime
View raw message