This is an old revision of the document!

Logging

WinSCP can log session events. Log can be written to file, to log window (only session log), or both.

Logging can be enabled from Logging page of Preferences dialog. Logging can also be enabled from command-line.

Events can be logged in two formats:

  • Session log: Events are logged in unstructured form with configurable level of verbosity. Information logged differ with protocol used. This format is useful to troubleshoot problems with connection. You should also include this log when reporting bugs or asking for support.
  • XML log: Events are logged in structured form in XML format. This format includes less information than session log. However its format is documented and independent from protocol used. You will find this format particularly useful to analyze automatically performed operations, such as when using scripting.

Advertisement

Note that passwords and passphrases are not stored to either log format.

Last modified: by martin