aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer
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/archiva-consumers/archiva-metadata-consumer
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/archiva-consumers/archiva-metadata-consumer')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java8
1 files changed, 4 insertions, 4 deletions
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