From 60b382e36e53e37d966fe79db62618fd34d9c5e1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 2 Dec 2013 04:07:17 +0000 Subject: fix logging warn level git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546890 13f79535-47bb-0310-9956-ffa450edef68 --- .../consumers/metadata/ArchivaMetadataCreationConsumer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer') 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 -- cgit v1.2.3