From 1b915c3a694e715aa85a381bb7e4a4f7328c9bb4 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Tue, 13 Nov 2007 04:13:02 +0000 Subject: [PATCH] make it possible to understand why something was blacklisted git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594423 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/proxy/DefaultRepositoryProxyConnectors.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java index 9d4c59cef..7a34cf895 100644 --- a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -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; } -- 2.39.5