What do you have against the /log command?
From the help file
Quote:
/log <on|off> <window> [-f filename]

Turns logging on and off for a window, if you specify a filename the logs file dialog is not popped up.