summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-12-02 04:07:17 +0000
committerOlivier Lamy <olamy@apache.org>2013-12-02 04:07:17 +0000
commit60b382e36e53e37d966fe79db62618fd34d9c5e1 (patch)
treee3c3c6c68aa325863ab2a281332dfe06227a4fd0 /archiva-modules/archiva-base
parent1fcefd58469a03a757908e42b0da5bc39dbcf4c9 (diff)
downloadarchiva-60b382e36e53e37d966fe79db62618fd34d9c5e1.tar.gz
archiva-60b382e36e53e37d966fe79db62618fd34d9c5e1.zip
fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546890 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java4
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java2
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java2
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java8
-rw-r--r--archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/archiva/converter/legacy/LegacyConverterArtifactConsumer.java4
-rw-r--r--archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/MavenRepositorySearchTest.java2
-rwxr-xr-xarchiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java2
-rw-r--r--archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java33
-rw-r--r--archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java2
-rw-r--r--archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java6
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java2
15 files changed, 36 insertions, 39 deletions
diff --git a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
index fb7628d0f..e6a3d6aa5 100644
--- a/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
+++ b/archiva-modules/archiva-base/archiva-checksum/src/main/java/org/apache/archiva/checksum/ChecksummedFile.java
@@ -175,7 +175,7 @@ public class ChecksummedFile
}
catch ( IOException e )
{
- log.warn( "Unable to update checksum:" + e.getMessage() );
+ log.warn( "Unable to update checksum:{}", e.getMessage() );
return false;
}
@@ -200,7 +200,7 @@ public class ChecksummedFile
}
catch ( IOException e )
{
- log.warn( "Unable to read / parse checksum: " + e.getMessage() );
+ log.warn( "Unable to read / parse checksum: {}", e.getMessage() );
return false;
}
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
index 2f5f439fc..87253b01a 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
@@ -336,7 +336,7 @@ public class DefaultArchivaConfiguration
else
{
// Policy key doesn't exist. Don't add it to golden version.
- log.warn( "Policy [" + policyId + "] does not exist." );
+ log.warn( "Policy [{}] does not exist.", policyId );
}
}
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
index b6a678e95..f9b081f3d 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java
@@ -568,7 +568,7 @@ public class ArchivaConfigurationTest
assertEquals( "check managed repositories", "default", repository.getLayout() );
assertTrue( "check managed repositories", repository.isScanned() );
- log.info( "knowContentConsumers " + configuration.getRepositoryScanning().getKnownContentConsumers() );
+ log.info( "knowContentConsumers {}", configuration.getRepositoryScanning().getKnownContentConsumers() );
assertFalse(
configuration.getRepositoryScanning().getKnownContentConsumers().contains( "update-db-artifact" ) );
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
index d7a585ff8..12a7d1054 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
@@ -206,15 +206,15 @@ public class ArchivaMetadataCreationConsumer
catch ( MetadataRepositoryException e )
{
log.warn(
- "Error occurred persisting metadata for artifact:{} (repository:{}); message: {}" + e.getMessage(),
- new Object[]{ path, repoId, e.getMessage() }, e );
+ "Error occurred persisting metadata for artifact:{} (repository:{}); message: {}" ,
+ path, repoId, e.getMessage(), e );
repositorySession.revert();
}
catch ( RepositoryStorageRuntimeException e )
{
log.warn(
- "Error occurred persisting metadata for artifact:{} (repository:{}); message: {}" + e.getMessage(),
- new Object[]{ path, repoId, e.getMessage() }, e );
+ "Error occurred persisting metadata for artifact:{} (repository:{}); message: {}",
+ path, repoId, e.getMessage(), e );
repositorySession.revert();
}
finally
diff --git a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/archiva/converter/legacy/LegacyConverterArtifactConsumer.java b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/archiva/converter/legacy/LegacyConverterArtifactConsumer.java
index a586c2b8f..8d1d93ebd 100644
--- a/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/archiva/converter/legacy/LegacyConverterArtifactConsumer.java
+++ b/archiva-modules/archiva-base/archiva-converter/src/main/java/org/apache/archiva/converter/legacy/LegacyConverterArtifactConsumer.java
@@ -134,11 +134,11 @@ public class LegacyConverterArtifactConsumer
}
catch ( LayoutException e )
{
- log.warn( "Unable to convert artifact: " + path + " : " + e.getMessage(), e );
+ log.warn( "Unable to convert artifact: {} : {}",path , e.getMessage(), e );
}
catch ( ArtifactConversionException e )
{
- log.warn( "Unable to convert artifact: " + path + " : " + e.getMessage(), e );
+ log.warn( "Unable to convert artifact: {} : {}",path , e.getMessage(), e );
}
}
diff --git a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/MavenRepositorySearchTest.java b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/MavenRepositorySearchTest.java
index c80700fdd..7ab8375da 100644
--- a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/MavenRepositorySearchTest.java
+++ b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/MavenRepositorySearchTest.java
@@ -828,7 +828,7 @@ public class MavenRepositorySearchTest
archivaConfigControl.verify();
- log.info( "groupIds: " + groupIds );
+ log.info( "groupIds: {}", groupIds );
assertEquals( 3, groupIds.size() );
assertTrue( groupIds.contains( "com" ) );
diff --git a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
index 50e9d616c..da58f1c40 100755
--- a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
+++ b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DefaultWagonFactory.java
@@ -110,7 +110,7 @@ public class DefaultWagonFactory
}
catch ( Exception e )
{
- logger.warn( "fail to configure User-Agent: " + e.getMessage(), e );
+ logger.warn( "fail to configure User-Agent: {}", e.getMessage(), e );
}
}
}
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java
index 687a2d1c7..3bdfab01a 100644
--- a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java
+++ b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java
@@ -268,11 +268,11 @@ public class DefaultRepositoryProxyConnectors
}
catch ( RepositoryNotFoundException e )
{
- log.warn( "Unable to use proxy connector: " + e.getMessage(), e );
+ log.warn( "Unable to use proxy connector: {}", e.getMessage(), e );
}
catch ( RepositoryException e )
{
- log.warn( "Unable to use proxy connector: " + e.getMessage(), e );
+ log.warn( "Unable to use proxy connector: {}", e.getMessage(), e );
}
@@ -447,8 +447,8 @@ public class DefaultRepositoryProxyConnectors
catch ( ProxyException e )
{
log.warn(
- "Transfer error from repository \"" + targetRepository.getRepository().getId() + "\" for resource "
- + path + ", continuing to next repository. Error message: {}", e.getMessage() );
+ "Transfer error from repository {} for resource {}, continuing to next repository. Error message: {}",
+ targetRepository.getRepository().getId(), path, e.getMessage() );
log.debug( MarkerFactory.getDetachedMarker( "transfer.error" ),
"Transfer error from repository \"" + targetRepository.getRepository().getId()
+ "\" for resource " + path + ", continuing to next repository. Error message: {}",
@@ -457,8 +457,7 @@ public class DefaultRepositoryProxyConnectors
catch ( RepositoryAdminException e )
{
log.debug( MarkerFactory.getDetachedMarker( "transfer.error" ),
- "Transfer error from repository \"" + targetRepository.getRepository().getId()
- + "\" for resource " + path + ", continuing to next repository. Error message: {}",
+ "Transfer error from repository {} for resource {}, continuing to next repository. Error message: {}",targetRepository.getRepository().getId(), path,
e.getMessage(), e );
log.debug( MarkerFactory.getDetachedMarker( "transfer.error" ), "Full stack trace", e );
}
@@ -517,16 +516,14 @@ public class DefaultRepositoryProxyConnectors
}
catch ( ProxyException e )
{
- log.warn( "Transfer error from repository \"" + targetRepository.getRepository().getId()
- + "\" for versioned Metadata " + logicalPath
- + ", continuing to next repository. Error message: " + e.getMessage() );
+ log.warn( "Transfer error from repository {} for versioned Metadata {}, continuing to next repository. Error message: {}",
+ targetRepository.getRepository().getId(), logicalPath, e.getMessage() );
log.debug( "Full stack trace", e );
}
catch ( RepositoryAdminException e )
{
- log.warn( "Transfer error from repository \"" + targetRepository.getRepository().getId()
- + "\" for versioned Metadata " + logicalPath
- + ", continuing to next repository. Error message: " + e.getMessage() );
+ log.warn( "Transfer error from repository {} for versioned Metadata {}, continuing to next repository. Error message: {}",
+ targetRepository.getRepository().getId(), logicalPath, e.getMessage() );
log.debug( "Full stack trace", e );
}
}
@@ -544,7 +541,7 @@ public class DefaultRepositoryProxyConnectors
}
catch ( RepositoryMetadataException e )
{
- log.warn( "Unable to update metadata " + localFile.getAbsolutePath() + ": " + e.getMessage(), e );
+ log.warn( "Unable to update metadata {}:{}", localFile.getAbsolutePath(), e.getMessage(), e );
}
}
@@ -928,7 +925,7 @@ public class DefaultRepositoryProxyConnectors
catch ( ProxyException e )
{
urlFailureCache.cacheFailure( url );
- log.warn( "Transfer failed on checksum: " + url + " : " + e.getMessage(), e );
+ log.warn( "Transfer failed on checksum: {} : {}",url ,e.getMessage(), e );
// Critical issue, pass it on.
throw e;
}
@@ -1088,8 +1085,8 @@ public class DefaultRepositoryProxyConnectors
}
log.warn(
- "Transfer error from repository \"" + content.getRepository().getId() + "\" for artifact " + Keys.toKey(
- artifact ) + ", continuing to next repository. Error message: " + exception.getMessage() );
+ "Transfer error from repository {} for artifact {} , continuing to next repository. Error message: {}",
+ content.getRepository().getId(), Keys.toKey( artifact), exception.getMessage() );
log.debug( "Full stack trace", exception );
}
@@ -1214,12 +1211,12 @@ public class DefaultRepositoryProxyConnectors
}
catch ( ConnectionException e )
{
- log.warn( "Could not connect to " + remoteRepository.getRepository().getName() + ": " + e.getMessage() );
+ log.warn( "Could not connect to {}: {}", remoteRepository.getRepository().getName(), e.getMessage() );
connected = false;
}
catch ( AuthenticationException e )
{
- log.warn( "Could not connect to " + remoteRepository.getRepository().getName() + ": " + e.getMessage() );
+ log.warn( "Could not connect to {}: {}", remoteRepository.getRepository().getName(), e.getMessage() );
connected = false;
}
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java
index 991b57135..e3f39d2ec 100644
--- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java
+++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/AbstractProxyTestCase.java
@@ -213,7 +213,7 @@ public abstract class AbstractProxyTestCase
CacheManager.getInstance().clearAll();
- log.info( "\n.\\ " + name + "() \\._________________________________________\n" );
+ log.info( "\n.\\ {}() \\._________________________________________\n", name );
}
@After
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java
index dea5ad5b3..71cd32262 100644
--- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java
+++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/proxy/WagonDelegate.java
@@ -65,7 +65,7 @@ public class WagonDelegate
public boolean getIfNewer( String resourceName, File destination, long timestamp )
throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
{
- log.info( ".getIfNewer(" + resourceName + ", " + destination + ", " + timestamp + ")" );
+ log.info( ".getIfNewer({}, {}, {})", resourceName, destination, timestamp );
boolean result = delegate.getIfNewer( resourceName, destination, timestamp );
createIfMissing( destination );
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java
index 9b1007820..4d0ea216f 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java
@@ -389,7 +389,7 @@ public class DefaultManagedRepositoryAdmin
catch ( MetadataRepositoryException e )
{
//throw new RepositoryAdminException( e.getMessage(), e );
- log.warn( "skip error during removing repository from MetadatRepository:" + e.getMessage(), e );
+ log.warn( "skip error during removing repository from MetadatRepository:{}", e.getMessage(), e );
}
finally
{
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
index 746a57f8b..4f73fa960 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java
@@ -48,7 +48,7 @@ public class ManagedRepositoryAdminTest
List<ManagedRepository> repos = managedRepositoryAdmin.getManagedRepositories();
assertNotNull( repos );
assertTrue( repos.size() > 0 );
- log.info( "repos " + repos );
+ log.info( "repos {}", repos );
// check default internal
ManagedRepository internal = findManagedRepoById( repos, "internal" );
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java
index db52d6445..cf062996f 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdminTest.java
@@ -39,7 +39,7 @@ public class RemoteRepositoryAdminTest
List<RemoteRepository> remoteRepositories = remoteRepositoryAdmin.getRemoteRepositories();
assertNotNull( remoteRepositories );
assertTrue( remoteRepositories.size() > 0 );
- log.info( "remote " + remoteRepositories );
+ log.info( "remote {}", remoteRepositories );
}
@Test
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java
index c2bcd9a06..157aeaad3 100644
--- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java
+++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java
@@ -376,7 +376,7 @@ public class MetadataTools
{
// TODO: [monitor] consider a monitor for this event.
// TODO: consider a read-redo on monitor return code?
- log.warn( "Unable to read metadata: " + metadataFile.getAbsolutePath(), e );
+ log.warn( "Unable to read metadata: {}", metadataFile.getAbsolutePath(), e );
return null;
}
}
@@ -401,7 +401,7 @@ public class MetadataTools
{
// TODO: [monitor] consider a monitor for this event.
// TODO: consider a read-redo on monitor return code?
- log.warn( "Unable to read metadata: " + metadataFile.getAbsolutePath(), e );
+ log.warn( "Unable to read metadata: {}", metadataFile.getAbsolutePath(), e );
return null;
}
}
@@ -426,7 +426,7 @@ public class MetadataTools
{
// TODO: [monitor] consider a monitor for this event.
// TODO: consider a read-redo on monitor return code?
- log.warn( "Unable to read metadata: " + metadataFile.getAbsolutePath(), e );
+ log.warn( "Unable to read metadata: {}", metadataFile.getAbsolutePath(), e );
return null;
}
}
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java
index dbc1453b5..5c1e66e4e 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/functors/TriggerBeginScanClosure.java
@@ -73,7 +73,7 @@ public class TriggerBeginScanClosure
}
catch ( ConsumerException e )
{
- log.warn( "Consumer [" + consumer.getId() + "] cannot begin: " + e.getMessage(), e );
+ log.warn( "Consumer [{}] cannot begin: {}",consumer.getId(), e.getMessage(), e );
}
}
}