diff options
author | Olivier Lamy <olamy@apache.org> | 2013-12-02 04:07:17 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-12-02 04:07:17 +0000 |
commit | 60b382e36e53e37d966fe79db62618fd34d9c5e1 (patch) | |
tree | e3c3c6c68aa325863ab2a281332dfe06227a4fd0 /archiva-modules/archiva-base/archiva-repository-layer | |
parent | 1fcefd58469a03a757908e42b0da5bc39dbcf4c9 (diff) | |
download | archiva-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-repository-layer')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/metadata/MetadataTools.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } |