You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by jo...@apache.org on 2007/10/10 23:39:45 UTC

svn commit: r583624 - /maven/archiva/trunk/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java

Author: joakime
Date: Wed Oct 10 14:39:44 2007
New Revision: 583624

URL: http://svn.apache.org/viewvc?rev=583624&view=rev
Log:
Adjusting chattiness of logs.

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

Modified: maven/archiva/trunk/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java?rev=583624&r1=583623&r2=583624&view=diff
==============================================================================
--- maven/archiva/trunk/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java (original)
+++ maven/archiva/trunk/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java Wed Oct 10 14:39:44 2007
@@ -151,7 +151,7 @@
 
             if ( fileExists( downloadedFile ) )
             {
-                getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
+                getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
                 return downloadedFile;
             }
         }
@@ -184,7 +184,7 @@
 
             if ( fileExists( downloadedFile ) )
             {
-                getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
+                getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
                 hasFetched = true;
             }
         }
@@ -253,7 +253,7 @@
 
             if ( fileExists( downloadedFile ) )
             {
-                getLogger().info( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
+                getLogger().debug( "Successfully transfered: " + downloadedFile.getAbsolutePath() );
                 hasFetched = true;
             }
         }
@@ -400,7 +400,7 @@
         // 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 @@
         // 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 @@
                 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 @@
             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 @@
         }
         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;