Hook into stdout and stderr of a running process
sudo strace -p $PID -e trace=write -e write=1,2 # To log started and elapsed times, add -ttT