Muli Salem has uploaded a new change for review.

Change subject: core: Change Log Level in SetNonOperationalVds (#853751)
......................................................................

core: Change Log Level in SetNonOperationalVds (#853751)

https://bugzilla.redhat.com/853751

Changes log level from info to warning when host is
set to Non-Operational.

Change-Id: I3b8e0133b2d39d9ce99cc30ce2c80c7c306b73ac
Signed-off-by: Muli Salem <msa...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/00/7700/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
index 8d525c0..1ec6674 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
@@ -8,9 +8,9 @@
 import org.ovirt.engine.core.common.businessentities.VDSStatus;
 import 
org.ovirt.engine.core.common.vdscommands.SetVdsStatusVDSCommandParameters;
 import org.ovirt.engine.core.common.vdscommands.VDSCommandType;
+import org.ovirt.engine.core.dal.VdcBllMessages;
 import org.ovirt.engine.core.utils.log.Log;
 import org.ovirt.engine.core.utils.log.LogFactory;
-import org.ovirt.engine.core.dal.VdcBllMessages;
 import org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil;
 
 /**
@@ -51,7 +51,7 @@
         });
 
         if (getParameters().getNonOperationalReason() == 
NonOperationalReason.NETWORK_UNREACHABLE) {
-            log.infoFormat("Host '{0}' is set to Non-Operational, it is 
missing the following networks: '{1}'",
+            log.warnFormat("Host '{0}' is set to Non-Operational, it is 
missing the following networks: '{1}'",
                     getVds().getvds_name(), 
getParameters().getCustomLogValues().get("Networks"));
         }
         setSucceeded(true);


--
To view, visit http://gerrit.ovirt.org/7700
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b8e0133b2d39d9ce99cc30ce2c80c7c306b73ac
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Muli Salem <msa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to