splot log files
Philip Massey wrote on May 12, 2012
A colleague asked me this, and I didn't have a good answer for her. I suspect this is an issue that goes beyond splot.
"'I've noticed a couple of times that if I exit splot catastrophically, i.e. I hit an incorrect key and have to get out of splot and back in, I lose the results accumulated in my log file since the
last time I started splot. Is there something I can do that will
save the log file as I work?"
"'I've noticed a couple of times that if I exit splot catastrophically, i.e. I hit an incorrect key and have to get out of splot and back in, I lose the results accumulated in my log file since the
last time I started splot. Is there something I can do that will
save the log file as I work?"
Mike Fitzpatrick wrote on May 12, 2012
Hi Phil,
It's probably just a case of I/O buffering not syncing to disk before task exits (abnormally). I've added a flag in the next update so the log file gets flushed each time it is written to, until then you would need to periodically use ":nolog" and ":log" to close (and flush) the file then reopen it for appending, i.e. to checkpoint the results written so far.
-Mike
It's probably just a case of I/O buffering not syncing to disk before task exits (abnormally). I've added a flag in the next update so the log file gets flushed each time it is written to, until then you would need to periodically use ":nolog" and ":log" to close (and flush) the file then reopen it for appending, i.e. to checkpoint the results written so far.
-Mike
Last post on May 12, 2012