Differences

This shows you the differences between the selected revisions of the page.

2012-01-05 2012-01-06
stat (martin) library (martin)
Line 1: Line 1:
====== XML Logging ====== ====== XML Logging ======
XML logging is one of the WinSCP [[logging|log formats]]. XML log includes structured records describing operations done by WinSCP over session. The log format is protocol independent. XML logging is one of the WinSCP [[logging|log formats]]. XML log includes structured records describing operations done by WinSCP over session. The log format is protocol independent.
 +
 +In many cases you do not have to deal with the XML log file directly. [[library|WinSCP .NET assembly]] can do it fo you.
===== Purpose ===== ===== Purpose =====
Line 448: Line 450:
To parse the XML log, use any XML parser available. To parse the XML log, use any XML parser available.
-See following guides to learn how to parse XML log in different development environments:+If possible, using [[library|WinSCP .NET assembly]] is preferred approach, which hides away the XML log file from your application. 
 + 
 +If you want to parse the XML log yourself anyway, see following guides to learn how to do that in different development environments:
  * [[guide_automation_advanced|Guide to advanced scripting]] (Windows script host; Java or VB script);   * [[guide_automation_advanced|Guide to advanced scripting]] (Windows script host; Java or VB script);
  * [[guide_dotnet|Guide for using WinSCP from .NET]] (.NET; C# or VB.NET);   * [[guide_dotnet|Guide for using WinSCP from .NET]] (.NET; C# or VB.NET);
  * [[guide_interpreting_xml_log|Guide to interpreting XML log for advanced scripting]] (.NET, C#).   * [[guide_interpreting_xml_log|Guide to interpreting XML log for advanced scripting]] (.NET, C#).

Last modified: by martin