Hi Guys, I built the log4cxxd.dll using the default parameters (though one of the unit tests failed in the end. I had sed etc. in the PATH. OS: Windows XP Sp2. Env: VS.Net 2003). I included the dll in my test project and as soon as I ran it I get this pleasing error (log4cxx_error.JPG). :)
-----
Another question:
I am using the OutputDebugStringAppender in the following manner. But on
calling LOG4CXX_INFO it throws an exception (log4cxx_exception.JPG). I am
using the dll provided in the littletux site for windows (13 March 06). What
am I doing wrong?
log4cxx::LoggerPtr LoggerMain(Logger::getLogger("LoggingMain"));
BasicConfigurator::configure(LoggerMain);
log4cxx::nt::OutputDebugStringAppender* pTestODA = new
log4cxx::nt::OutputDebugStringAppender();
LoggerMain->addAppender(pTestODA);
LOG4CXX_INFO(LoggerMain, _T("LOG4CXX_INFO - 1") );
------
On a side note: When do you plan to release 0.9.8 of log4cxx?
Thanks
Arun
<<attachment: log4cxx_error.JPG>>
<<attachment: log4cxx_exception.JPG>>
