Computers cache output by default, as writing every byte to a disk one a time would be hugely inefficient. So writes get cached, and written when the cache fills up.
You may override this behavior. In perl for example, with the "$|=1" directive, so you can see log output in real time.
That ...
Search found 2 matches
- 30 Aug 2021, 23:30
- Forum: General Discussion
- Topic: Log file, flush output buffer
- Replies: 3
- Views: 461
- 28 Aug 2021, 00:41
- Forum: General Discussion
- Topic: Log file, flush output buffer
- Replies: 3
- Views: 461
Log file, flush output buffer
Hi,
I'm using FFS on Windows. I've selected txt format for log files. When running long jobs I've noticed that FFS doesn't write the log until it is done. I'd like to know if FFS could be changed so it flushes the log output buffer more frequently, so I could watch log activity as it happens ...
I'm using FFS on Windows. I've selected txt format for log files. When running long jobs I've noticed that FFS doesn't write the log until it is done. I'd like to know if FFS could be changed so it flushes the log output buffer more frequently, so I could watch log activity as it happens ...