知识库

  1. 主页
  2. How To
  3. How To enable debug logs
创建日期
修改日期

文章 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

关键字
log debug trace etw etl

相关文章


What do you think about this topic? Send feedback!