logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1394380 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java src/changes/changes.xml
Date Fri, 05 Oct 2012 06:40:28 GMT
Author: rgoers
Date: Fri Oct  5 06:40:27 2012
New Revision: 1394380

URL: http://svn.apache.org/viewvc?rev=1394380&view=rev
Log:
DefaultConfiguration was not starting the Console Appender

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java
    logging/log4j/log4j2/trunk/src/changes/changes.xml

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java?rev=1394380&r1=1394379&r2=1394380&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/DefaultConfiguration.java
Fri Oct  5 06:40:27 2012
@@ -48,6 +48,7 @@ public class DefaultConfiguration extend
         Layout layout = PatternLayout.createLayout("%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}
- %msg%n",
             null, null, null);
         Appender appender = ConsoleAppender.createAppender(layout, null, "SYSTEM_OUT", "Console",
"true");
+        appender.start();
         addAppender(appender);
         LoggerConfig root = getRootLogger();
         root.addAppender(appender, null, null);

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1394380&r1=1394379&r2=1394380&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Fri Oct  5 06:40:27 2012
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.0-beta2" date="TBD" description="Bug fixes and enhancements">
+      <action dev="rgoers" type="fix">
+        DefaultConfiguration was not starting the Console Appender.
+      </action>
       <action issue="LOG4J2-35" dev="rgoers" type="add">
         Add interval and modulate options to TimeBasedTriggeringPolicy to allow more fine-grained
control of
         when file rolling should occur.



Mime
View raw message