Log
From Scriptwiki
Turns logging on and off for a window.
/log <on|off> <window> [-f filename]
If you specify a filename the logs file dialog is not popped up.
Example
/log
Echoes if the active window is being logged or not.
/log on
Turns on logging for the active window.
/log on @debug
Begins logging custom window @debug to $logdir based on your logging settings.
/log on @debug -f C:\log.txt
Logs custom window @debug to C:\log.txt (filename may be affected by logging options.)