OK, got log4cplus to log stuff to a file. Now I want it to simply append when the program re-starts instead of overwrite.
I tried this:
log4cplus::SharedAppenderPtr myAppender(new log4cplus::FileAppender "myLogFile.log",std::ios_base::ate));
but it still truncated and overwrote.
I don't want to use the Rolling or Daily FileAppenders (yet at least).
Thanks, -g