ileAppender);
LOG4CXX_INFO(logger,"IN main method");
Now the file is created but does not write anything into it
or does not print "second printf"
the program just aborts,after creating the file...
please help..i need this to be done today....thanks
-- Forw
ender(fileAppender);
LOG4CXX_INFO(logger,"IN main method");
Now the file is created but does not write anything into it
or does not print "second printf"
the program just aborts,after creating the file...
please help..i need this to be done today....thanks
-- F
>trace("tracing");
fileAppender->close();
printf("\n file name : %s","got here");
am i missing something...please let me know...
thanks in advance
On Tue, Aug 11, 2009 at 8:00 PM, Curt Arnold wrote:
>
> On Aug 11, 2009, at 2:12 PM, ss ak wrote
Either of this fails...
log4cxx::FileAppenderPtr fileAppender(new log4cxx::FileAppender());
fileAppender->setFile(log4cxx::helpers::Transcoder::decode(logfile.c_str()));
log4cxx::FileAppenderPtr fileAppender(new
log4cxx::FileAppender(log4cxx::LayoutPtr(new
log4cxx::SimpleLayout()),log4cxx::helper