carnold | 17 Jun 2008 23:02
Picon
Favicon

svn commit: r668828 - in /logging/log4cxx/trunk/src: changes/ examples/cpp/ site/xdoc/ test/cpp/ test/cpp/customlogger/ test/cpp/defaultinit/ test/cpp/net/ test/cpp/rolling/ test/cpp/varia/ test/cpp/xml/

Author: carnold
Date: Tue Jun 17 14:02:17 2008
New Revision: 668828

URL: http://svn.apache.org/viewvc?rev=668828&view=rev
Log:
LOGCXX-288: Unnecessary trailing semi-colons after LOG4CXX_INFO et al in docs, examples and tests

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/examples/cpp/trivial.cpp
    logging/log4cxx/trunk/src/site/xdoc/index.xml
    logging/log4cxx/trunk/src/test/cpp/asyncappendertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/customlogger/xloggertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/defaultinit/testcase1.cpp
    logging/log4cxx/trunk/src/test/cpp/defaultinit/testcase2.cpp
    logging/log4cxx/trunk/src/test/cpp/defaultinit/testcase3.cpp
    logging/log4cxx/trunk/src/test/cpp/defaultinit/testcase4.cpp
    logging/log4cxx/trunk/src/test/cpp/loggertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/minimumtestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/ndctestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/net/smtpappendertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/net/sockethubappendertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/net/socketservertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/net/telnetappendertestcase.cpp
    logging/log4cxx/trunk/src/test/cpp/patternlayouttest.cpp
    logging/log4cxx/trunk/src/test/cpp/propertyconfiguratortest.cpp
    logging/log4cxx/trunk/src/test/cpp/rolling/filterbasedrollingtest.cpp
    logging/log4cxx/trunk/src/test/cpp/rolling/manualrollingtest.cpp
    logging/log4cxx/trunk/src/test/cpp/rolling/obsoletedailyrollingfileappendertest.cpp
(Continue reading)

carnold | 18 Jun 2008 02:45
Picon
Favicon

svn commit: r668887 - in /logging/log4cxx/trunk/src: changes/changes.xml main/cpp/properties.cpp test/cpp/helpers/propertiestestcase.cpp test/resources/input/propertiestestcase.properties

Author: carnold
Date: Tue Jun 17 17:45:03 2008
New Revision: 668887

URL: http://svn.apache.org/viewvc?rev=668887&view=rev
Log:
LOGCXX-291: Tab characters not recognized in properties files

Added:
    logging/log4cxx/trunk/src/test/resources/input/propertiestestcase.properties
Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/cpp/properties.cpp
    logging/log4cxx/trunk/src/test/cpp/helpers/propertiestestcase.cpp

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=668887&r1=668886&r2=668887&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Tue Jun 17 17:45:03 2008
 <at>  <at>  -41,6 +41,7  <at>  <at> 
 <action issue="LOGCXX-285">LevelRangeFilter has default value for acceptOnMatch that is different
from log4j</action>
 <action issue="LOGCXX-286">gcc 4.3 requires #include &lt;cstring&gt; when using memcpy and
related.</action> 
 <action issue="LOGCXX-288">Unnecessary trailing semi-colons after LOG4CXX_INFO et al in docs,
examples and tests.<action>
+<action issue="LOGCXX-291">Tab characters are not recognized in properties files.<action>
 </release>
 <release version="0.10.0" date="2008-04-03" description="First Apache release">
(Continue reading)

carnold | 18 Jun 2008 07:24
Picon
Favicon

svn commit: r669087 - in /logging/log4cxx/trunk/src: changes/changes.xml main/cpp/properties.cpp test/cpp/helpers/propertiestestcase.cpp test/resources/input/propertiestestcase.properties

Author: carnold
Date: Tue Jun 17 22:24:16 2008
New Revision: 669087

URL: http://svn.apache.org/viewvc?rev=669087&view=rev
Log:
LOGCXX-292: Value continuation does not properly handle CRLF in property files

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/cpp/properties.cpp
    logging/log4cxx/trunk/src/test/cpp/helpers/propertiestestcase.cpp
    logging/log4cxx/trunk/src/test/resources/input/propertiestestcase.properties

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=669087&r1=669086&r2=669087&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Tue Jun 17 22:24:16 2008
 <at>  <at>  -41,7 +41,8  <at>  <at> 
 <action issue="LOGCXX-285">LevelRangeFilter has default value for acceptOnMatch that is different
from log4j</action>
 <action issue="LOGCXX-286">gcc 4.3 requires #include &lt;cstring&gt; when using memcpy and
related.</action> 
 <action issue="LOGCXX-288">Unnecessary trailing semi-colons after LOG4CXX_INFO et al in docs,
examples and tests.<action>
-<action issue="LOGCXX-291">Tab characters are not recognized in properties files.<action>
+<action issue="LOGCXX-291">Tab characters are not recognized in property files.<action>
+<action issue="LOGCXX-292">Value continuation does not properly handle CRLF in property files.<action>
 </release>
(Continue reading)

carnold | 18 Jun 2008 17:42
Picon
Favicon

svn commit: r669204 - in /logging/log4cxx/trunk/src: changes/changes.xml main/cpp/properties.cpp test/cpp/helpers/propertiestestcase.cpp test/resources/input/propertiestestcase.properties

Author: carnold
Date: Wed Jun 18 08:42:24 2008
New Revision: 669204

URL: http://svn.apache.org/viewvc?rev=669204&view=rev
Log:
Escape sequences not recognized in property files

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/cpp/properties.cpp
    logging/log4cxx/trunk/src/test/cpp/helpers/propertiestestcase.cpp
    logging/log4cxx/trunk/src/test/resources/input/propertiestestcase.properties

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=669204&r1=669203&r2=669204&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Wed Jun 18 08:42:24 2008
 <at>  <at>  -43,6 +43,7  <at>  <at> 
 <action issue="LOGCXX-288">Unnecessary trailing semi-colons after LOG4CXX_INFO et al in docs,
examples and tests.<action>
 <action issue="LOGCXX-291">Tab characters are not recognized in property files.<action>
 <action issue="LOGCXX-292">Value continuation does not properly handle CRLF in property files.<action>
+<action issue="LOGCXX-293">Escape sequences not recognized in property files.<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/properties.cpp
(Continue reading)

carnold | 18 Jun 2008 23:52
Picon
Favicon

svn commit: r669305 - in /logging/log4cxx/trunk/src: changes/changes.xml main/include/log4cxx/logger.h

Author: carnold
Date: Wed Jun 18 14:52:42 2008
New Revision: 669305

URL: http://svn.apache.org/viewvc?rev=669305&view=rev
Log:
LOGCXX-270: Add ability to compile out logging by logging level

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/include/log4cxx/logger.h

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=669305&r1=669304&r2=669305&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Wed Jun 18 14:52:42 2008
 <at>  <at>  -28,6 +28,7  <at>  <at> 
 <action issue="LOGCXX-265">Eliminate anachronism warnings</action>
 <action issue="LOGCXX-266">Eliminate Extra ";" ignored warnings</action>
 <action issue="LOGCXX-267">Local variables hide member variables</action>
+<action issue="LOGCXX-270">Add ability to compile out logging by logging level.</action>
 <action issue="LOGCXX-271">MDC::put will not overwrite existing key value pair</action>
 <action issue="LOGCXX-272">Apache log4cxx 0.10.1 release</action>
 <action issue="LOGCXX-275">Headers cannot be included with very strict warning settings</action>

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/logger.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/logger.h?rev=669305&r1=669304&r2=669305&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/logger.h (original)
(Continue reading)

carnold | 19 Jun 2008 00:18
Picon
Favicon

svn commit: r669316 - in /logging/log4cxx/trunk/src: changes/changes.xml main/cpp/writerappender.cpp test/cpp/consoleappendertestcase.cpp

Author: carnold
Date: Wed Jun 18 15:18:45 2008
New Revision: 669316

URL: http://svn.apache.org/viewvc?rev=669316&view=rev
Log:
LOGCXX-249: ConsoleAppender crashes if layout is not set

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/cpp/writerappender.cpp
    logging/log4cxx/trunk/src/test/cpp/consoleappendertestcase.cpp

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=669316&r1=669315&r2=669316&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Wed Jun 18 15:18:45 2008
 <at>  <at>  -23,6 +23,7  <at>  <at> 
 </properties>
 <body>
 <release version="0.10.1" date="2008-XX-XX" description="Maintenance release">
+<action issue="LOGCXX-249">Console appender crashes if layout is not set</action>
 <action issue="LOGCXX-262">socketappendertestcase and xmlsocketappendertestcase not run</action>
 <action issue="LOGCXX-263">Bad link to log4cxx-dev archive</action>
 <action issue="LOGCXX-265">Eliminate anachronism warnings</action>

Modified: logging/log4cxx/trunk/src/main/cpp/writerappender.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/writerappender.cpp?rev=669316&r1=669315&r2=669316&view=diff
==============================================================================
(Continue reading)

carnold | 21 Jun 2008 16:17
Picon
Favicon

svn commit: r670201 - /logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp

Author: carnold
Date: Sat Jun 21 07:17:58 2008
New Revision: 670201

URL: http://svn.apache.org/viewvc?rev=670201&view=rev
Log:
LOGCXX-276: Missing public access modifier required by VC6

Modified:
    logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp

Modified: logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp?rev=670201&r1=670200&r2=670201&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp (original)
+++ logging/log4cxx/trunk/src/test/cpp/filter/denyallfiltertest.cpp Sat Jun 21 07:17:58 2008
 <at>  <at>  -33,7 +33,8  <at>  <at> 
     LOGUNIT_TEST_SUITE(DenyAllFilterTest);
        LOGUNIT_TEST(test1);
     LOGUNIT_TEST_SUITE_END();
-
+
+public:
     /**
      * Check that DenyAllFilter.decide() returns Filter.DENY.
      */

carnold | 21 Jun 2008 16:19
Picon
Favicon

svn commit: r670202 - in /logging/log4cxx/trunk/src/main/include/log4cxx/pattern: classnamepatternconverter.h datepatternconverter.h lineseparatorpatternconverter.h literalpatternconverter.h loggerpatternconverter.h

Author: carnold
Date: Sat Jun 21 07:19:39 2008
New Revision: 670202

URL: http://svn.apache.org/viewvc?rev=670202&view=rev
Log:
LOGCXX-281: Remove using statements that VC6 didn't like

Modified:
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h?rev=670202&r1=670201&r2=670202&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h Sat
Jun 21 07:19:39 2008
 <at>  <at>  -55,7 +55,7  <at>  <at> 
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);

-  using LoggingEventPatternConverter::format;
+  using NamePatternConverter::format;

   void format(const log4cxx::spi::LoggingEventPtr&event,
      LogString& toAppendTo,
(Continue reading)

Phil Pellouchoud | 24 Jun 2008 08:57

issues with mac/xcode.

Hi,

 

I am trying to compile some code using 0.10.0 on mac/xcode, and I get an error like this:

 

dailyrollingfileappender.h:23

error: forward declaration of ‘struct log4cxx::rolling::RollingFileAppender’

 

I wind up doing a #include <log4cxx/rollingfileappender.h> in that file, but then I get:

 

rollingfileappender.h:32

error: forward declaration of ‘struct log4cxx::rolling::RollingFileAppender’

 

Which doing a #include <log4cxx/rollingfileappender.h> in that file doesn’t help, since that IS that file…

 

What should I expect in terms of being able to create my own appender under xcode?

 

-phil

Curt Arnold | 28 Jun 2008 01:18
Picon
Favicon

Re: issues with mac/xcode.


On Jun 24, 2008, at 1:57 AM, Phil Pellouchoud wrote:

> Hi,
>
> I am trying to compile some code using 0.10.0 on mac/xcode, and I  
> get an error like this:
>
> dailyrollingfileappender.h:23
> error: forward declaration of ‘struct  
> log4cxx::rolling::RollingFileAppender’
>
> I wind up doing a #include <log4cxx/rollingfileappender.h> in that  
> file, but then I get:
>
> rollingfileappender.h:32
> error: forward declaration of ‘struct  
> log4cxx::rolling::RollingFileAppender’
>
> Which doing a #include <log4cxx/rollingfileappender.h> in that file  
> doesn’t help, since that IS that file…
>
> What should I expect in terms of being able to create my own  
> appender under xcode?
>
> -phil

Actually, there are two RollingFileAppenders,  
log4cxx::RollingFileAppender which is analogous to  
org.apache.log4j.RollingFileAppender in log4j 1.2.x and defined in  
<log4cxx/rollingfileappender.h> and  
log4cxx::rolling::RollingFileAppender which is defined in <log4cxx/ 
rolling/rollingfileappender.h> and is analogous to  
org.apache.log4j.rolling.RollingFileAppender in the extras companion  
for log4j.

Any extension or customization should be done using  
log4cxx::rolling::RollingFileAppender.  log4cxx::RollingFileAppender  
and log4cxx::DailyRollingFileAppender are provided for backwards  
compatibility and are just wrappers around  
log4cxx::rolling::RollingFileAppenderSkeleton.

I'm not sure how you would get those messages with the current code  
base.  Any chance you are using a pre-0.10.0 snapshot?


Gmane