~martijnbraam/logbookd#7: 
follow mode should flush when output is not a terminal

logbookd 0.2.4

ssh foo logread -F and ssh foo logread -f yield logs in bursts and the last log line in a burst is often emitted only partially. This is because logread doesn't flush stdout explicitly, so data only appears when the stdout pipe buffer fills up and is auto-flushed.

If flushing after every line is too expensive, it could be done only when the next read to the logbookd socket would block.

Status
REPORTED
Submitter
Arnavion
Assigned to
No-one
Submitted
1 year, 2 months ago
Updated
1 year, 2 months ago
Labels
No labels applied.