Export to GitHub

ioping - issue #17

buffered ouput


Posted on Jan 31, 2014 by Happy Giraffe

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.

Comment #1

Posted on Feb 2, 2014 by Grumpy Wombat

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

Comment #2

Posted on Feb 2, 2014 by Happy Giraffe

Excellent, thank you.

Status: Done

Labels:
Type-Defect Priority-Medium