]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1042] reduce logging noise, you would anticipate a lot of misses since artifacts...
authorBrett Porter <brett@apache.org>
Mon, 9 Mar 2009 15:03:02 +0000 (15:03 +0000)
committerBrett Porter <brett@apache.org>
Mon, 9 Mar 2009 15:03:02 +0000 (15:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751699 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-database/src/main/java/org/apache/maven/archiva/database/browsing/DefaultRepositoryBrowsing.java

index d9daedade79b07848c419c4a969296e8b13ec155..3a5ef1810cecb58e5c8d38011c9f5b8dcfe9dfc1 100644 (file)
@@ -333,14 +333,14 @@ public class DefaultRepositoryBrowsing
                 {
                     try
                     {
-                        log.info( "Retrieving artifact with version " + uniqueVersion );
+                        log.debug( "Retrieving artifact with version " + uniqueVersion );
                         result =
                             dao.getArtifactDAO().getArtifact( groupId, artifactId, uniqueVersion, null, "pom", repositoryId );
                         break;
                     }
-                    catch ( ArchivaDatabaseException e )
+                    catch ( ObjectNotFoundException e )
                     {
-                        log.warn( "Artifact '" + groupId + ":" + artifactId + ":" + uniqueVersion +
+                        log.debug( "Artifact '" + groupId + ":" + artifactId + ":" + uniqueVersion +
                             "' in repository '" + repositoryId + "' not found in the database." );
                         continue;
                     }