Base de Conhecimento

  1. Início
  2. How To
  3. How To enable debug logs
Criado
Modificado

Artigo 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

Palavras-chave
log debug trace etw etl

Artigos Relacionados


What do you think about this topic? Send feedback!