Quote:
strace -eopen wineconsole --backend=curses /home/david/Servers/il2-4.12/drive_d/il2server/il2server.exe > logfile.txt
|
Unless there's another method you're looking for, ">" will redirect output from stdout(which is normally printed to the console) to a file. You can also use ">>" to append a file.
This is true for BASH, can't guarantee it to work with other shells. Note that this means you won't see the output in your console.
EDIT: Or, what The_WOZ said.