correctly use slf4j for logging

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-08-08 20:59:47 +00:00
parent fd6b9b7e93
commit 891e92e162
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ public class DownloadRemoteIndexTask
stopWatch.start();
try
{
log.info( "start download remote index for remote repository " + this.remoteRepository.getId() );
log.info( "start download remote index for remote repository {}", this.remoteRepository.getId() );
IndexingContext indexingContext = remoteRepositoryAdmin.createIndexContext( this.remoteRepository );
// create a temp directory to download files
@ -217,7 +217,7 @@ public class DownloadRemoteIndexTask
}
catch ( IOException e )
{
log.warn( "skip error delete " + f + ": " + e.getMessage() );
log.warn( "skip error delete {} : {}", f, e.getMessage() );
}
}