morganstanley/binlog

With piping, a live logfile that is being written by the application can be read... not output

Closed this issue · 3 comments

Hi,body
I use tail -c0 -F logfile.blog | bread then output nothing

erenon commented

Hi, how do you write the logfile?

run bread is work,when run tail -c0 -F logfile.blog | bread then nothing output

erenon commented

Thanks for the report, the documentation was incorrect, it is being fixed by #167. The correct usage is:

tail -c +0 -F logfile.blog | bread