FVWM console output >> logfile

How can I change the output on the console I launched startx from to append to a log file lets say /tmp/log/fvwm_log

I tried using fvwm >> /tmp/log/fvwm_log but it sill just outputs to the console and not to the file. I have also tried > and |. (BTW: this is in .xinitrc)

From FVWM FAQ: