Kiến thức cơ bản

  1. Trang chủ
  2. How To
  3. How To enable debug logs
Ngày tạo
Ngày sửa

In trang này

Mục tin 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
  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 can be found in the SDK Samples\SmartFTP\Event Tracing folder

  4. Register the instrumentation manifest
    wevtutil um
    wevtutil im

  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

Các từ khóa
log debug trace etw etl

Các bài có liên quan

What do you think about this topic? Send feedback!