mtail icon indicating copy to clipboard operation
mtail copied to clipboard

Reading a Fifo file

Open yeplaa opened this issue 3 years ago • 0 comments

In the container environment i would like read from mtail a fifo file.

In first, i created my fifo : # mkdir /logs/fluentd; mkfifo /logs/fluentd/pipe

Then, mtail is started with this parameters :
/usr/bin/mtail -progs /progs/mariadb.mtail -logs /logs/fluentd/pipe -alsologtostderr

But i have this mtail errors :

I0609 15:31:56.079179 1 cancel.go:21] cancelled, setting read deadline to interrupt read I0609 15:31:56.079184 1 cancel.go:23] use of closed file

I don't understand exactly why. I don't have this problem if i create a standard file instead fifo.

Have you an idea?

Thanks

yeplaa avatar Jun 09 '22 15:06 yeplaa