aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler/archiva-scheduler-indexing
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-08-08 20:59:47 +0000
committerOlivier Lamy <olamy@apache.org>2012-08-08 20:59:47 +0000
commit891e92e162f970b6659f0966cc88be2fb44a0caa (patch)
treeae6230e707781548d53c497649258fd985f09e37 /archiva-modules/archiva-scheduler/archiva-scheduler-indexing
parentfd6b9b7e93bee062c5ed72c40b27fbbf037167c5 (diff)
downloadarchiva-891e92e162f970b6659f0966cc88be2fb44a0caa.tar.gz
archiva-891e92e162f970b6659f0966cc88be2fb44a0caa.zip
correctly use slf4j for logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370962 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-indexing')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java4
1 files changed, 2 insertions, 2 deletions
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() );
}
}