Redirect process stdout?

20211208160238221

im using vprintf to print log on foreground.
i want to attach one process's stdout to terminal ,
so use tail -f but it does not work , is there a way to do that?

mkfifo is good for this...