Xshell allows users to log the entire transcript of a session to a file. Trace may be used for debugging.