I think the best (though also unnatural a bit) is using strace -p. It can be instructed to trace writes to file descriptors 1 and 2, and ‘‘-p [pid]’’ attaches it to already running program. Read its manual, maybe
Code:
strace -f -o log -s 1024 -p $(pgrep program)
will be enough for you.