Fwd: logString issue...please help

2009-08-11 Thread ss ak
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

Fwd: logString issue...please help

2009-08-11 Thread ss ak
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

Re: logString issue...please help

2009-08-12 Thread ss ak
>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

fileappender...please someone answer this,...

2009-08-13 Thread ss ak
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