Re: simple stringstream appender

2010-08-17 Thread Curt Arnold
read the log from the file. But, I prefer a stringstream solution. Thank you, Andrej -- View this message in context: http://old.nabble.com/simple-stringstream-appender-tp29447240p29447240.html Sent from the Log4cxx - Users mailing list archive at Nabble.com.

simple stringstream appender

2010-08-16 Thread Andrej van der Zee
Hi, I need an appender that writes to a stringstream. I want to be able to access the complete log after my CGI application is finished. How can I do this? I guess I could use a FileAppender and write to a temporary file and after my CGI application finishes read the log from the file. But, I

Re: simple stringstream appender

2010-08-16 Thread Thorsten Schöning
Guten Tag Andrej van der Zee, am Montag, 16. August 2010 um 09:49 schrieben Sie: I need an appender that writes to a stringstream. I want to be able to access the complete log after my CGI application is finished. How can I do this? I guess I could use a FileAppender and write to a temporary

Re: simple stringstream appender

2010-08-16 Thread Andrej van der Zee
Hi, Thanks for your reply. The log will be maximum 200 short text-lines, that's all. The CGI application will initialise the log, preferably a stringstream. After the CGI application is finished executing, it will read the log from the stringstream and add it to the XML envelop that is sent beck