Nice NDC example

2004-05-10 Thread Shuvalov, Andrew V
I want to contribute a nice example of how to use NDC. First I defined a class and few macros: /** The helper class enabling \ref NDC. */ class NDContext { static log4cxx::helpers::ThreadSpecificData _threadSpecificData; const char *_group; log4cxx::StringBuffer

log4cxx 0.9.7 release

2004-05-10 Thread Michaël CATANZARITI
The version can be found at http://logging.apache.org/log4cxx/log4cxx-0.9.7.tar.gz ChangeLog: * Fixed examples source code in the "Short introduction to log4cxx". * Fixed, in the renaming algorithm of RollingFileAppender and DailyRollingFileAppender, a problem specific to Unicode. * Fixed confli

Re: Planned release

2004-05-10 Thread Michaël CATANZARITI
Andrew, I will release log4cxx 0.9.7 tonight, because I have a window of time to do it. If you encounter problems running tests, we will fix them in the next version. Thank you, Michaël Shuvalov, Andrew V wrote: I need more time. The current CVS version works perfectly for me, but I can't run cp

RE: Planned release

2004-05-10 Thread Shuvalov, Andrew V
I need more time. The current CVS version works perfectly for me, but I can't run cppunit. I have it installed, but configure is checking the cppunit-config script - which, by some reason, is not installed with my cppunit. I will manually force it, but it will take more time. -Original Messag

RE: Extending LoggingEvent

2004-05-10 Thread Shuvalov, Andrew V
Hello, Yes, I'm overriding LoggingEvent, but I don't need to touch the Logger: #define MATRIX_INFO_EXTERNAL(group, message) do { \ Logger *logger = Logger::getLogger (group).operator->(); \ if (logger->isInfoEnabled()) {\ ::log4cxx::StringBuffer oss; \ oss

Re: Namespace issue

2004-05-10 Thread Michaël CATANZARITI
Thank you for the patch. I committed the modif in the CVS repository. Michaël Matthias Haack wrote: Hi, I'm using log4cxx v0.9.6 in a small private project and I get compiler errors ('Level' undeclared) with gcc3.3.1 on Linux when using on of the macros like: LOG4CXX_DEBUG(logger, "..."); withou

Re: Planned release

2004-05-10 Thread Michaël CATANZARITI
Hello, A version will be delivered this week. Andrew, can you check out the latest sources and validate them on your platform ? Is it possible to you to pass the tests (make check) after having installed cppunit and boost regex ? Thanks, Michaël Shuvalov, Andrew V wrote: Hi, Just want to ask whe