From 17c281888ddbd23f5c5b58da7b1c2189946b8a36 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Thu, 10 Jan 2008 09:26:08 +0000 Subject: [PATCH] [MRM-633] -changed some info logs to debug -reverted default logging level for repo scanner (in log4j.xml) from debug to info git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@610730 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/consumers/core/MetadataUpdaterConsumer.java | 4 ++-- .../consumers/database/ProjectModelToDatabaseConsumer.java | 2 +- archiva-web/archiva-webapp/src/main/resources/log4j.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java b/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java index 1abd857c4..f99b98c5f 100644 --- a/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java +++ b/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java @@ -188,7 +188,7 @@ public class MetadataUpdaterConsumer } metadataTools.updateMetadata( this.repository, projectRef ); - getLogger().info( "Updated metadata: " + this.metadataTools.toPath( projectRef ) ); + getLogger().debug( "Updated metadata: " + this.metadataTools.toPath( projectRef ) ); } catch ( LayoutException e ) { @@ -234,7 +234,7 @@ public class MetadataUpdaterConsumer } metadataTools.updateMetadata( this.repository, versionRef ); - getLogger().info( "Updated metadata: " + this.metadataTools.toPath( versionRef ) ); + getLogger().debug( "Updated metadata: " + this.metadataTools.toPath( versionRef ) ); } catch ( LayoutException e ) { diff --git a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java index c323920b2..672a8bcec 100644 --- a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java +++ b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java @@ -166,7 +166,7 @@ public class ProjectModelToDatabaseConsumer if ( isValidModel( model, repo, artifact ) ) { - getLogger().info( "Adding project model to database - " + Keys.toKey( model ) ); + getLogger().debug( "Adding project model to database - " + Keys.toKey( model ) ); dao.getProjectModelDAO().saveProjectModel( model ); } else diff --git a/archiva-web/archiva-webapp/src/main/resources/log4j.xml b/archiva-web/archiva-webapp/src/main/resources/log4j.xml index 233aaf246..b203a8b33 100644 --- a/archiva-web/archiva-webapp/src/main/resources/log4j.xml +++ b/archiva-web/archiva-webapp/src/main/resources/log4j.xml @@ -38,7 +38,7 @@ - +