Knowledge Base

Home > How To > How To enable debug logs

Created 08 Jul 2008
Modified 30 Jul 2014

Article 2613

How To enable debug logs

How to enable debug logging in SmartFTP.

Note: This should only be done to enable logging for debug purpose. If you want to enable logging of your transfers in SmartFTP go to the menu: File - Settings and then go to the General - Advanced dialog.

  1. Download and install the latest version of the Windows SDK in case it is not installed yet
    http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
  2. Go to the SDK folder. E.g.
    "%ProgramFiles(x86)%\Windows Kits\8.1\Windows Performance Toolkit\"
  3. Download and install the SmartFTP SDK
    SmartFTP SDK
    The SmartFTP.man can be found in the SDK Samples\SmartFTP\Event Tracing folder

  4. Register the instrumentation manifest
    wevtutil um SmartFTP.man
    wevtutil im SmartFTP.man

  5. Start the session
    xperf -start usersession -on SmartFTP:5 -f smartftp.etl

  6. Start SmartFTP

  7. Stop the session
    xperf -stop usersession 

  8. Open the etl log in Windows Event Viewer: 
    eventvwr.exe /l:smartftp.etl
    or alternatively in Windows Performance Analyzer
    "%ProgramFiles(x86)%\Windows Kits\8.1\Windows Performance Toolkit\wpa.exe" smartftp.etl

Keywords
debug,log,trace,etw,etl