From fb0dc4c64ce11f3f90d509d9716c22dac4d86446 Mon Sep 17 00:00:00 2001
From: cramakri <cramakri>
Date: Mon, 16 Jul 2012 13:01:56 +0000
Subject: [PATCH] BIS-105 SP-151 : Added some logging when a file is not added
 to the faulty_paths

SVN: 26120
---
 .../filesystem/FaultyPathDirectoryScanningHandler.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/common/source/java/ch/systemsx/cisd/common/filesystem/FaultyPathDirectoryScanningHandler.java b/common/source/java/ch/systemsx/cisd/common/filesystem/FaultyPathDirectoryScanningHandler.java
index e4ab5442e7a..70d33cbd98c 100644
--- a/common/source/java/ch/systemsx/cisd/common/filesystem/FaultyPathDirectoryScanningHandler.java
+++ b/common/source/java/ch/systemsx/cisd/common/filesystem/FaultyPathDirectoryScanningHandler.java
@@ -70,7 +70,7 @@ public final class FaultyPathDirectoryScanningHandler implements IDirectoryScann
     {
         this(faultyPathDirectory, stopSignaler, null);
     }
-    
+
     public FaultyPathDirectoryScanningHandler(final File faultyPathDirectory,
             final IStopSignaler stopSignaler, IFaultyPathDirectoryScanningHandlerDelegate delegate)
     {
@@ -221,6 +221,10 @@ public final class FaultyPathDirectoryScanningHandler implements IDirectoryScann
         if (delegate != null
                 && delegate.shouldNotAddToFaultyPathsOrNull(scannedStore.asFile(storeItem)))
         {
+            operationLog
+                    .info("File "
+                            + storeItem
+                            + " not written to faulty paths. It will be reprocessed during the next iteration.");
             return Status.OK;
         }
 
-- 
GitLab