If this works, you should be able to:
nohup xm console | tee domU-console.log &
I don't know if xm console uses stderr at all, but if you want to be sure that snag tht output too:
nohup xm console 2>&1 tee domU-console.log &
Drop tee if you plan to log out.
source share