logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject svn commit: r1555484 - in /logging/log4j/log4j2/trunk/src: changes/changes.xml site/xdoc/manual/eventlogging.xml
Date Sun, 05 Jan 2014 11:41:10 GMT
Author: rpopma
Date: Sun Jan  5 11:41:09 2014
New Revision: 1555484

URL: http://svn.apache.org/r1555484
Log:
LOG4J2-408 Fixed error in code example in manual/eventlogging.html

Modified:
    logging/log4j/log4j2/trunk/src/changes/changes.xml
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/eventlogging.xml

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1555484&r1=1555483&r2=1555484&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Sun Jan  5 11:41:09 2014
@@ -21,6 +21,9 @@
   </properties>
   <body>
     <release version="2.0-RC1" date="2013-MM-DD" description="Bug fixes and enhancements">
+      <action issue="LOG4J2-408" dev="rpopma" type="fix" due-to="Dongqing Hu, Matt Sicker">
+        Fixed error in documentation code example in manual/eventlogging.html
+      </action>
       <action issue="LOG4J2-451" dev="rpopma" type="fix" due-to="Vinay Pothnis, Matt Sicker">
         Fixed typo in documentation: system property should be log4j2.loggerContextFactory
       </action>

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/eventlogging.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/eventlogging.xml?rev=1555484&r1=1555483&r2=1555484&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/eventlogging.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/eventlogging.xml Sun Jan  5 11:41:09 2014
@@ -128,7 +128,7 @@ public class MyApp {
         msg.put("toAccount", toAccount);
         msg.put("fromAccount", fromAccount);
         msg.put("amount", amount);
-        EventLogger.logEvent(data);
+        EventLogger.logEvent(msg);
         return confirm;
     }
 }</pre>



Mime
View raw message