mirror of https://github.com/apache/archiva.git
optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ae34ad83a9
commit
aaebb5d534
|
@ -217,12 +217,12 @@ public class MetadataUpdaterConsumer
|
|||
if ( projectMetadata.exists() && ( projectMetadata.lastModified() >= this.scanStartTimestamp ) )
|
||||
{
|
||||
// This metadata is up to date. skip it.
|
||||
log.debug( "Skipping uptodate metadata: " + this.metadataTools.toPath( projectRef ) );
|
||||
log.debug( "Skipping uptodate metadata: {}", this.metadataTools.toPath( projectRef ) );
|
||||
return;
|
||||
}
|
||||
|
||||
metadataTools.updateMetadata( this.repository, projectRef );
|
||||
log.debug( "Updated metadata: " + this.metadataTools.toPath( projectRef ) );
|
||||
log.debug( "Updated metadata: {}", this.metadataTools.toPath( projectRef ) );
|
||||
}
|
||||
catch ( LayoutException e )
|
||||
{
|
||||
|
@ -263,12 +263,12 @@ public class MetadataUpdaterConsumer
|
|||
if ( projectMetadata.exists() && ( projectMetadata.lastModified() >= this.scanStartTimestamp ) )
|
||||
{
|
||||
// This metadata is up to date. skip it.
|
||||
log.debug( "Skipping uptodate metadata: " + this.metadataTools.toPath( versionRef ) );
|
||||
log.debug( "Skipping uptodate metadata: {}", this.metadataTools.toPath( versionRef ) );
|
||||
return;
|
||||
}
|
||||
|
||||
metadataTools.updateMetadata( this.repository, versionRef );
|
||||
log.debug( "Updated metadata: " + this.metadataTools.toPath( versionRef ) );
|
||||
log.debug( "Updated metadata: {}", this.metadataTools.toPath( versionRef ) );
|
||||
}
|
||||
catch ( LayoutException e )
|
||||
{
|
||||
|
|
|
@ -137,7 +137,7 @@ public class DaysOldRepositoryPurge
|
|||
}
|
||||
catch ( LayoutException e )
|
||||
{
|
||||
log.debug( "Not processing file that is not an artifact: " + e.getMessage() );
|
||||
log.debug( "Not processing file that is not an artifact: {}", e.getMessage() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue