set logfile [<filename>]
This variable sets the name of the file the client will log to when the LOG variable is on. This setting can be overridden by a logfile setting for a specific window.