Hi,
I am using log4cxx for my program. I was running valgrind with the program to
see if there are any memory issues and there are quite a few errors coming from
log4cxx. So I wrote a simple program :
#include "log4cxx/logger.h"
#include "log4cxx/xml/domconfigurator.h"
using namespace log4cxx;
using namespace log4cxx::xml;
using namespace log4cxx::helpers;
int main (int argc, char *argv[]){
DOMConfigurator::configure("resampling/test/TestData/LogConfig.xml");
//LoggerPtr logger(Logger::getLogger("rs.l1b.pg"));
//LOG4CXX_INFO(logger, "Testing");
}
And I got memory leak issues again. I am running Ubuntu 11.10 and got the
log4cxx library using apt-get, and the version of my g++ compiler is 4.6.1.
Does anyone know a solution to this ? Thank you very much in advance.
Norman