SESSIONLOG (Deprecated) Control the session log file |
Top Previous Next |
The sessionlog command is deprecated and may be removed from a future will release. It currently has no effect unless you enable the old protocol stack using the -y command line switch
If the [ file name ] argument is present, this script command creates a new session log file by this name. It is also implied that logging is to be turned on. The session log file records diagnostic messages that may be helpful in debugging secure (SSH/SSL) file transfer failures. Information about normal (non-secure) file transfer sessions does not appear in this file.
The following command specifies a secure session log file and enables logging if it isn’t already enabled.
SESSIONLOG "new_session.log"
The following command specifies a secure session log file, deletes the currently defined file (if any) and enables logging if it isn’t already enabled.
SESSIONLOG "new_session.log" /delete
If [ file name ] is omitted, the /on and /off options control logging to a previously defined log file. When logging is turned on, new log messages are appended to the existing log file. For example:
SESSIONLOG /on
If this command is issued when connected to a secure FTP site, any changes to the session log file will take place after logging off and back on again.
Related command(s): LOG, TRACELOG, TRACEWIN See also: Interactive Debugging, Basic Logging, Advanced Logging, Alternate Default Path |