Maor Lipchuk has uploaded a new change for review.

Change subject: core: Adding log when retrieving entities from tar
......................................................................

core: Adding log when retrieving entities from tar

Adding log for better debugging

Change-Id: I11b1102b64c6951376a5242364435515b41d24fb
Signed-off-by: Maor Lipchuk <mlipc...@redhat.com>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/30101/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
index 4bf9475..47a3c3c 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OvfUtils.java
@@ -96,10 +96,16 @@
                                 getEntityName(ovfData),
                                 archType,
                                 getEntityId(fileEntry.getKey()));
+                log.infoFormat("Retrieve OVF Entity from storage domain id {0} 
for entity ID {1}, entity name {2} and vmType of {3}",
+                        storageDomainId,
+                        getEntityId(fileEntry.getKey()),
+                        getEntityName(ovfData),
+                        vmType.name());
                 ovfEntityDataFromTar.add(ovfEntityData);
+            } else {
+                log.infoFormat("Current file name {0} does not indicate OVF 
extension file, will ignore it", fileEntry.getKey());
             }
         }
-
         return ovfEntityDataFromTar;
     }
 


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

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

Reply via email to