You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2008/05/18 22:56:12 UTC

svn commit: r657638 - in /logging/log4cxx/trunk/src: changes/changes.xml main/cpp/levelrangefilter.cpp

Author: carnold
Date: Sun May 18 13:56:11 2008
New Revision: 657638

URL: http://svn.apache.org/viewvc?rev=657638&view=rev
Log:
LOGCXX-285: LevelRangeFilter has default value for acceptOnMatch that is different from log4j

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/cpp/levelrangefilter.cpp

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=657638&r1=657637&r2=657638&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Sun May 18 13:56:11 2008
@@ -37,6 +37,7 @@
 <action issue="LOGCXX-281">Sun Studio 11 reports function hides base virtual function warning</action>
 <action issue="LOGCXX-283">Suspicious, but harmless, reuse of LOCAL1 in SyslogAppender</action>
 <action issue="LOGCXX-284">Unit tests fail to compile with xlc_r on AIX</action>
+<action issue="LOGCXX-285">LevelRangeFilter has default value for acceptOnMatch that is different from log4j</action>
 </release>
 <release version="0.10.0" date="2008-04-03" description="First Apache release">
 <action issue="LOGCXX-2">logger.h includes config.h</action>

Modified: logging/log4cxx/trunk/src/main/cpp/levelrangefilter.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/levelrangefilter.cpp?rev=657638&r1=657637&r2=657638&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/levelrangefilter.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/levelrangefilter.cpp Sun May 18 13:56:11 2008
@@ -31,7 +31,7 @@
 
 
 LevelRangeFilter::LevelRangeFilter()
-: acceptOnMatch(true), levelMin(Level::getAll()), levelMax(Level::getOff())
+: acceptOnMatch(false), levelMin(Level::getAll()), levelMax(Level::getOff())
 {
 }