diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java index fc1d4b069..b86f86df4 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java @@ -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() ); } }