logging-log4j2 git commit: Fix status logger messages.
Repository: logging-log4j2 Updated Branches: refs/heads/master 19832cf09 -> c8ee4b3b6 Fix status logger messages. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c8ee4b3b Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c8ee4b3b Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c8ee4b3b Branch: refs/heads/master Commit: c8ee4b3b6ee93208322e0a8cd4a12ce97ecf0752 Parents: 19832cf Author: Gary Gregory Authored: Wed Sep 21 12:15:12 2016 -0700 Committer: Gary Gregory Committed: Wed Sep 21 12:15:12 2016 -0700 -- .../main/java/org/apache/logging/log4j/core/LoggerContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c8ee4b3b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java -- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java index 8cf9520..1f99941 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java @@ -506,7 +506,7 @@ public class LoggerContext extends AbstractLifeCycle */ private Configuration setConfiguration(final Configuration config) { if (config == null) { -LOGGER.error("No configuration found for context '%s'.", contextName); +LOGGER.error("No configuration found for context '{}'.", contextName); // No change, return the current configuration. return this.configuration; } @@ -597,7 +597,7 @@ public class LoggerContext extends AbstractLifeCycle contextName, configURI, this, cl); final Configuration instance = ConfigurationFactory.getInstance().getConfiguration(this, contextName, configURI, cl); if (instance == null) { -LOGGER.error("Reconfiguration failed: No configuration found for '%s' at '%s' in '%s'", contextName, configURI, cl); +LOGGER.error("Reconfiguration failed: No configuration found for '{}' at '{}' in '{}'", contextName, configURI, cl); } else { setConfiguration(instance); /*
[5/9] logging-log4j2 git commit: Fix status logger messages.
Fix status logger messages. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6aab25f9 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6aab25f9 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6aab25f9 Branch: refs/heads/master Commit: 6aab25f95809b8bf39e23cb0d1293c476623eb31 Parents: 123448f Author: Gary Gregory Authored: Mon Sep 19 00:12:07 2016 -0700 Committer: Gary Gregory Committed: Mon Sep 19 00:12:07 2016 -0700 -- .../java/org/apache/logging/log4j/core/appender/AppenderSet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6aab25f9/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java -- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java index b5fc59c..6adf89f 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java @@ -48,7 +48,7 @@ public class AppenderSet { @Override public AppenderSet build() { if (configuration == null) { -LOGGER.error("Configuration is missing from AppenderNodeSet"); +LOGGER.error("Configuration is missing from AppenderSet"); } final List children = node.getChildren(); final Map map = new HashMap<>(node == null ? 0 : children.size()); @@ -59,7 +59,7 @@ public class AppenderSet { for (final Node childNode : children) { final String key = childNode.getAttributes().get("name"); if (key == null) { -LOGGER.error("The attribute 'name' is missing from from the node {} in the AppenderNodeSet {}", +LOGGER.error("The attribute 'name' is missing from from the node {} in the AppenderSet {}", childNode, children); } else { map.put(key, childNode);
logging-log4j2 git commit: Fix status logger messages.
Repository: logging-log4j2 Updated Branches: refs/heads/LOG4J2-1597 123448f59 -> 6aab25f95 Fix status logger messages. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6aab25f9 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6aab25f9 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6aab25f9 Branch: refs/heads/LOG4J2-1597 Commit: 6aab25f95809b8bf39e23cb0d1293c476623eb31 Parents: 123448f Author: Gary Gregory Authored: Mon Sep 19 00:12:07 2016 -0700 Committer: Gary Gregory Committed: Mon Sep 19 00:12:07 2016 -0700 -- .../java/org/apache/logging/log4j/core/appender/AppenderSet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6aab25f9/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java -- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java index b5fc59c..6adf89f 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AppenderSet.java @@ -48,7 +48,7 @@ public class AppenderSet { @Override public AppenderSet build() { if (configuration == null) { -LOGGER.error("Configuration is missing from AppenderNodeSet"); +LOGGER.error("Configuration is missing from AppenderSet"); } final List children = node.getChildren(); final Map map = new HashMap<>(node == null ? 0 : children.size()); @@ -59,7 +59,7 @@ public class AppenderSet { for (final Node childNode : children) { final String key = childNode.getAttributes().get("name"); if (key == null) { -LOGGER.error("The attribute 'name' is missing from from the node {} in the AppenderNodeSet {}", +LOGGER.error("The attribute 'name' is missing from from the node {} in the AppenderSet {}", childNode, children); } else { map.put(key, childNode);