From 758eee4a2b7ede1becc28c18bf3655e1ead07074 Mon Sep 17 00:00:00 2001 From: gexce Date: Thu, 17 Aug 2017 13:29:13 +0200 Subject: [PATCH] CropAssetCopyTool --- .../src/com/bayer/edam/excelimport/CropAssetCopyTool.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Toolbox Migration/src/com/bayer/edam/excelimport/CropAssetCopyTool.java b/Toolbox Migration/src/com/bayer/edam/excelimport/CropAssetCopyTool.java index ed097d4..ae06b33 100644 --- a/Toolbox Migration/src/com/bayer/edam/excelimport/CropAssetCopyTool.java +++ b/Toolbox Migration/src/com/bayer/edam/excelimport/CropAssetCopyTool.java @@ -85,7 +85,7 @@ public class CropAssetCopyTool { List fileList = zipFile.getFileHeaders(); if (fileList.size() == 1) { - log.info("Extracting " + videoFile.getAbsolutePath()); + log.debug("Extracting " + videoFile.getAbsolutePath()); if (!dryRun) { zipFile.extractAll(videoTargetPath); @@ -113,13 +113,13 @@ public class CropAssetCopyTool { video++; } catch (ZipException e) { + zipCorrupt++; log.error("Skipping AssetID " + assetId + " - could not open ZIP file " + videoFile.getAbsolutePath()); } } else { wrongSize++; - log.warn("Wrong file size for " + assetId + ": " + expectedSize + " != " + fileLength + " (" + targetName + ")"); - zipCorrupt++; + log.warn("Wrong file size for " + assetId + ": expected " + expectedSize + ", found " + fileLength + " (" + targetName + ")"); } } else {