diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-10-10 21:39:44 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-10-10 21:39:44 +0000 |
commit | 027685ca6bd5a6308c1be8d7249dead5dee6ab78 (patch) | |
tree | 23ce5eb6d850523e105297d820f2e4cd3d0ae9b5 | |
parent | 313cc4ddfce06ae8bbb75d12a742d47edc019b4b (diff) | |
download | archiva-027685ca6bd5a6308c1be8d7249dead5dee6ab78.tar.gz archiva-027685ca6bd5a6308c1be8d7249dead5dee6ab78.zip |
Adjusting chattiness of logs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583624 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java | 18 |
1 files changed, 9 insertions, 9 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 edcb1d917..a79a22c22 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 @@ -151,7 +151,7 @@ public class DefaultRepositoryProxyConnectors if ( fileExists( downloadedFile ) ) { - getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); + getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); return downloadedFile; } } @@ -184,7 +184,7 @@ public class DefaultRepositoryProxyConnectors if ( fileExists( downloadedFile ) ) { - getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); + getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); hasFetched = true; } } @@ -253,7 +253,7 @@ public class DefaultRepositoryProxyConnectors if ( fileExists( downloadedFile ) ) { - getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); + getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() ); hasFetched = true; } } @@ -400,7 +400,7 @@ public class DefaultRepositoryProxyConnectors // Handle pre-download policy if ( !applyPolicies( this.preDownloadPolicies, connector.getPolicies(), requestProperties, localFile ) ) { - getLogger().info( "Failed pre-download policies - " + localFile.getAbsolutePath() ); + getLogger().debug( "Failed pre-download policies - " + localFile.getAbsolutePath() ); if ( fileExists( localFile ) ) { @@ -459,7 +459,7 @@ public class DefaultRepositoryProxyConnectors // Handle post-download policies. if ( !applyPolicies( this.postDownloadPolicies, connector.getPolicies(), requestProperties, localFile ) ) { - getLogger().info( "Failed post-download policies - " + localFile.getAbsolutePath() ); + getLogger().debug( "Failed post-download policies - " + localFile.getAbsolutePath() ); if ( fileExists( localFile ) ) { @@ -565,7 +565,7 @@ public class DefaultRepositoryProxyConnectors success = wagon.getIfNewer( remotePath, temp, localFile.lastModified() ); if ( !success ) { - getLogger().info( + getLogger().debug( "Not downloaded, as local file is newer than remote side: " + localFile.getAbsolutePath() ); } @@ -619,7 +619,7 @@ public class DefaultRepositoryProxyConnectors getLogger().debug( "Applying [" + key + "] policy with [" + setting + "]" ); if ( !policy.applyPolicy( setting, request, localFile ) ) { - getLogger().info( "Didn't pass the [" + key + "] policy." ); + getLogger().debug( "Didn't pass the [" + key + "] policy." ); return false; } } @@ -711,14 +711,14 @@ public class DefaultRepositoryProxyConnectors } catch ( ConnectionException e ) { - getLogger().info( + getLogger().warn( "Could not connect to " + remoteRepository.getRepository().getName() + ": " + e.getMessage() ); connected = false; } catch ( AuthenticationException e ) { - getLogger().info( + getLogger().warn( "Could not connect to " + remoteRepository.getRepository().getName() + ": " + e.getMessage() ); connected = false; |