This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 0d53d98  LOG4J2-2515 - Configuration documentation referenced 
incorrect method name.
0d53d98 is described below

commit 0d53d98a976fc4aa89f9e58f2ffa56ae6b2aae55
Author: Ralph Goers <rgo...@apache.org>
AuthorDate: Fri Nov 23 21:42:04 2018 -0700

    LOG4J2-2515 - Configuration documentation referenced incorrect method name.
---
 src/changes/changes.xml                   | 3 +++
 src/site/xdoc/manual/configuration.xml.vm | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 170d242..eb70734 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -31,6 +31,9 @@
          - "remove" - Removed
     -->
     <release version="2.11.2" date="2018-MM-DD" description="GA Release 
2.11.2">
+      <action issue="LOG4J2-2515" dev="rgoers" type="fix" due-to="MakarovS">
+        Configuration documentation referenced incorrect method name.
+      </action>
       <action issue="LOG4J2-2514" dev="rgoers" type="fix" 
due-to="smilebrian0515">
         Make Strings.toRootUpperCase a static method so it can be accessed.
       </action>
diff --git a/src/site/xdoc/manual/configuration.xml.vm 
b/src/site/xdoc/manual/configuration.xml.vm
index d082389..ffd6bad 100644
--- a/src/site/xdoc/manual/configuration.xml.vm
+++ b/src/site/xdoc/manual/configuration.xml.vm
@@ -1559,7 +1559,7 @@ public class AwesomeTest {
 
     @Test
     public void testSomeAwesomeFeature() {
-        final LoggerContext ctx = init.getContext();
+        final LoggerContext ctx = init.getLoggerContext();
         final Logger logger = 
init.getLogger("org.apache.logging.log4j.my.awesome.test.logger");
         final Configuration cfg = init.getConfiguration();
         final ListAppender app = init.getListAppender("List");

Reply via email to