You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/08/31 22:29:47 UTC
logging-log4j2 git commit: Add missing "{}".
Repository: logging-log4j2
Updated Branches:
refs/heads/LOG4J2-952 e64eee779 -> e77ad2c46
Add missing "{}".
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/e77ad2c4
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/e77ad2c4
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/e77ad2c4
Branch: refs/heads/LOG4J2-952
Commit: e77ad2c467c2b92175e08457c333d97db033dd2b
Parents: e64eee7
Author: ggregory <gg...@apache.org>
Authored: Mon Aug 31 13:29:45 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Aug 31 13:29:45 2015 -0700
----------------------------------------------------------------------
.../log4j/core/config/properties/PropertiesConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e77ad2c4/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfiguration.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfiguration.java
index cf57338..9e3abea 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfiguration.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/properties/PropertiesConfiguration.java
@@ -46,7 +46,7 @@ public class PropertiesConfiguration extends AssembledConfiguration implements R
final PropertiesConfiguration config = factory.getConfiguration(source);
return config.root.getComponents().size() == 0 ? null : config;
} catch (final IOException ex) {
- LOGGER.error("Cannot locate file {}", getConfigurationSource(), ex);
+ LOGGER.error("Cannot locate file {}: {}", getConfigurationSource(), ex);
}
return null;
}