< Development | Tutorials | Debugging | Debugging IOSlavesRevision as of 16:14, 19 May 2010 by Asn (talk | contribs) (Added a page for kio_sftp)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) This page is a starting point for debugging kio_sftp. Please also read how to debug IO slaves generically. Overview When you point file manager to sftp://user@target, the sftp kioslave uses libssh to open a connection to the sftp server. Logging You may want to switch on logging for kio_sftp. In this example, we want to log the output to /tmp/kio_sftp.log. Open a konsole or run the command 'kdebugdialog --fullmode'. In the "Debug Area" select "7120 kio_sftp". In the Information box select 'Information' as the "Output" and use '/tmp/kio_sftp.log' a the "File". To enable logging you have to reload the slave system. You can do this by calling: 'kdeinit4' Logging with libssh debut output To enable libssh debug messages in addition you have to set an environment variable before calling kdeinit. KIO_SFTP_LOG_VERBOSITY=2 kdeinit4 Retrieved from "https://techbase.kde.org/index.php?title=Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp&oldid=51309" Content is available under Creative Commons License SA 4.0 unless otherwise noted.