]> source.dussan.org Git - archiva.git/commitdiff
make it possible to understand why something was blacklisted
authorBrett Porter <brett@apache.org>
Tue, 13 Nov 2007 04:13:02 +0000 (04:13 +0000)
committerBrett Porter <brett@apache.org>
Tue, 13 Nov 2007 04:13:02 +0000 (04:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594423 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java

index 9d4c59cef881b2074531fd2c6fa997731b82de47..7a34cf895956b8e13a2fe564e80795911c93150d 100644 (file)
@@ -492,7 +492,9 @@ public class DefaultRepositoryProxyConnectors
             // Path must belong to whitelist.
             if ( !matchesPattern( remotePath, connector.getWhitelist() ) )
             {
-                getLogger().debug( "Path [" + remotePath + "] is not part of defined whitelist (skipping transfer)." );
+                getLogger().debug( "Path [" + remotePath +
+                    "] is not part of defined whitelist (skipping transfer from repository [" +
+                    remoteRepository.getRepository().getName() + "])." );
                 return null;
             }
         }
@@ -500,7 +502,8 @@ public class DefaultRepositoryProxyConnectors
         // Is target path part of blacklist?
         if ( matchesPattern( remotePath, connector.getBlacklist() ) )
         {
-            getLogger().debug( "Path [" + remotePath + "] is part of blacklist (skipping transfer)." );
+            getLogger().debug( "Path [" + remotePath + "] is part of blacklist (skipping transfer from repository [" +
+                remoteRepository.getRepository().getName() + "])." );
             return null;
         }