mtail
mtail copied to clipboard
Reading a Fifo file
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