jeswant / ioping

Automatically exported from code.google.com/p/ioping
GNU General Public License v3.0
0 stars 0 forks source link

buffered ouput #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, the output is buffered wich makes it hard to watch and log the stats at 
the same time.
Would it be possible to fflush after each line ? Or maybe add an option in 
front of each line ?
I can provide a patch for each case if needed. Thank you.

Original issue reported on code.google.com by bdej...@gmail.com on 31 Jan 2014 at 8:34

GoogleCodeExporter commented 9 years ago
Ok, by default stdout is line-buffered only for terminals. I've switched it 
into this mode unconditionally.

Original comment by koct9i on 2 Feb 2014 at 11:13

GoogleCodeExporter commented 9 years ago
Excellent, thank you.

Original comment by bdej...@gmail.com on 2 Feb 2014 at 5:16