-logfile <filename>
the parameter specifies the filename to which the client or server copies its output to
for example:
odamex -logfile odamex.log